For Programmers: Free Programming Magazines  


Home > Archive > Java Help > June 2005 > Sun Java on Windows 2000 Pro









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sun Java on Windows 2000 Pro
student@overseas.net

2005-06-11, 3:58 am

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

2005-06-11, 3:58 am

student@overseas.net wrote:
> 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
>

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

2005-06-11, 3:58 am

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.


<student@overseas.net> wrote in message
news:42AA2FA4.6020102@overseas.net...
> 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
>



Uwe Ziegenhagen

2005-06-11, 3:58 pm

student@overseas.net wrote:
> 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
>


Try javac -cp . <yourfile>.java

Uwe

--

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







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com