You are here: GSI Wiki>DABC Web>DabcControls>GuiJava>HansJavaHints (2010-01-07, HansEssel)Edit Attach
In Java source code: package a.b.c;
means sources are in $SOURCEPATH/a/b/c/*.java
and classes in $CLASSPATH/a/b/c/*.class
javac -sourcepath SOURCEPATH -classpath CLASSPATH -d CLASSES
reads sources from SOURCEPATH/a/b/c, classes from CLASSPATH/a/b/c, writes to CLASSES/a/b/c
Pack package xxx (xxx must be top directory in jar file):
jar -cf xxx.jar xxx/*.class

JAVA_HOME points to directory of include, lib, jre
JDK_INCLUDE is then $JAVA_HOME/include.

-- HansEssel - 07 Jan 2010
Topic revision: r1 - 2010-01-07, HansEssel - This page was cached on 2021-10-27 - 03:47.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Imprint (german) | Privacy Policy (german)