HELP! I just installed Sun's jdk-1_5_0__03 (version 1.5.0, release 3)
on my Windows 2000-Pro machine. The compiler cannot find the .java
files. This seems to be a problem my own machine because my files
compile & execute perfectly on the machines at the public computing
labs. I write the code using the Windows Notepad Accessory and save it
to the Desktop. I would like to run things from here. Can anyone tell
me how to make my java compiler and the files meet midway??
please post here or e-mail me at bh12358 a-t yahoo do-t com
Mark - 11 Jun 2005 02:18 GMT
> HELP! I just installed Sun's jdk-1_5_0__03 (version 1.5.0, release 3)
> on my Windows 2000-Pro machine. The compiler cannot find the .java
[quoted text clipped - 5 lines]
>
> please post here or e-mail me at bh12358 a-t yahoo do-t com
Make sure that the location of java.exe is on your path for the
system variables, or on your own personal path.
For example:
Start -> Settings -> Control Panel -> System -> Advanced ->
Environment Variables
Then create a path variable, or add to an existing path variable, the
location of your java.exe file.
Hal Rosser - 11 Jun 2005 03:09 GMT
Here's the easiest solution:
download the free editor JGrasp and install it
then you can compile with one button
and run with another button
JGrasp will find the Java installation and set everything up to work fine.
> HELP! I just installed Sun's jdk-1_5_0__03 (version 1.5.0, release 3)
> on my Windows 2000-Pro machine. The compiler cannot find the .java
[quoted text clipped - 5 lines]
>
> please post here or e-mail me at bh12358 a-t yahoo do-t com
Uwe Ziegenhagen - 11 Jun 2005 15:03 GMT
> HELP! I just installed Sun's jdk-1_5_0__03 (version 1.5.0, release 3)
> on my Windows 2000-Pro machine. The compiler cannot find the .java
[quoted text clipped - 5 lines]
>
> please post here or e-mail me at bh12358 a-t yahoo do-t com
Try javac -cp . <yourfile>.java
Uwe

Signature
mail to newsgroup@ziegenhagen.info is read only from time to time. If
you need an urgent answer, google for me.