G
Gabe
I hope I don't leave any vital information out.
The OS I'm XP SP1a.
the JDK version is SE v1.4.2_02
I'm new to Java and I was using the tutorial provided on the
java.sun.com site.
Specifically:http://java.sun.com/docs/books/tutorial/ext/basics/install.html
I tried javac -classpath some.jar some.java
The jar and the java file both being in the same dir and I having
navigated to that dir through the commandline console.
Having successfully compiled I wanted to try doing it, using the
<JAVA_HOME>\jre\lib\ext instructions given in the tutorial as an
alternative to using -classpath.
Thinking that setting the classpath in that fashion was temporary and
would live as long as the commandline console was open, I closed the
commandline console and I could still run the some.class file and
recompile it without giving it the classpath. Something I did not
think I would be able to do.
Thinking that it was in memory, I restarted the system and logged in
again to XP and I could still run and recompile the said .java file.
I then went into my environment variable by right clicking on "my
computer" and going to propeties>Advanced Tab>Environment Variable
button and I could not fine classpath as an environment variable.
Where does this env var get stored? I looked in the registry also,
and it was not there. Is there some java meta file that this
information is stored in.
All I want to do is blow it away so that I can the test the
<JAVA_HOME>\jre\lib\ext part of the tutorial.
I appreciate your anticipated patients with me.
Respectfully,
Gabe
The OS I'm XP SP1a.
the JDK version is SE v1.4.2_02
I'm new to Java and I was using the tutorial provided on the
java.sun.com site.
Specifically:http://java.sun.com/docs/books/tutorial/ext/basics/install.html
I tried javac -classpath some.jar some.java
The jar and the java file both being in the same dir and I having
navigated to that dir through the commandline console.
Having successfully compiled I wanted to try doing it, using the
<JAVA_HOME>\jre\lib\ext instructions given in the tutorial as an
alternative to using -classpath.
Thinking that setting the classpath in that fashion was temporary and
would live as long as the commandline console was open, I closed the
commandline console and I could still run the some.class file and
recompile it without giving it the classpath. Something I did not
think I would be able to do.
Thinking that it was in memory, I restarted the system and logged in
again to XP and I could still run and recompile the said .java file.
I then went into my environment variable by right clicking on "my
computer" and going to propeties>Advanced Tab>Environment Variable
button and I could not fine classpath as an environment variable.
Where does this env var get stored? I looked in the registry also,
and it was not there. Is there some java meta file that this
information is stored in.
All I want to do is blow it away so that I can the test the
<JAVA_HOME>\jre\lib\ext part of the tutorial.
I appreciate your anticipated patients with me.
Respectfully,
Gabe