> +I know have a silly problem with JDK 1.1.7. Namely, while I can compile
my
> +application (containing several .java files organised in a number of
> +packages), when I attempt to run it, it doensn't run! My environment is
> + $JAVA_HOME = <JDK 1.1.7 installation directory>
> + $CLASSPATH = .:$JAVA_HOME/lib/classes.zip:$JAVA_HOME/swingall.jar
> +
>
> potentially silly error, some potentially silly
> solutions, which I occasionally have to remember :
>
>
> - when you run the class file do you include the package name ?
>
> eg..
>
> cd <dir with RunDammit.java src >
> javac -d . RunDammit.java
> java com.nortelnetworks.RunDammit
You 're right, I typed nortelnetworks/RunDammit instead (which worked for
JDK 1.2!!!).
Thanks! :-)
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]