Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / June 2005

Tip: Looking for answers? Try searching our database.

Sun Java on Windows 2000 Pro

Thread view: 
student@overseas.net - 11 Jun 2005 01:26 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
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.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.