Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't get Command prompt in 2000 pro to run java test programs

Status
Not open for further replies.

jacl35

Technical User
Jan 8, 2003
4
US
Hi;

I just downloaded Java a few days ago and read all I could on setting the path and classpath.

I am a bit confused on setting the classpath for classes.
one place said I had to set it as

classpath=c:\j2sdk1.4.1_01\lib\classes.zip

I am confused since the ending part of this path does not exist in the lib folder or any zip file for that matter.

when I downloaded "helloworld test file" put it in its ownfolder
and set the classpath to that folder

At c prompt I type

javac HelloWorldApp.java

It opens my windows pop up for "choose the program I would like to open this file or application with"

I've tried everything I could read about setting the paths
etc but nothing is working.

Can someone head me in the right direction please?

Thank you for helping a newbie : )
Jack
Florida
 
>> Can someone head me in the right direction please?

>> javac HelloWorldApp.java

>> It opens my windows pop up for "choose the program I
>> would like to open this file or application with"

first the error has nothing to do with Java. ur telling the os to run the javac program. The os error is telling u it does not see the program on the path. That is a basic computer operation problem.

u might try the forum for the os u are using although they might just point u to some references for operating computers. -There are only 10 types of people in the world, those who understand binary and those who don't-

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top