This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with sdk 1.4 beta and winXP

 
Andy Ceponis
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im having a problem getting the 1.4 beta to run under XP. I added the path and claspath variables in the right spot, but everytime i go to compile it says it doesnt recognize javac. But if i put the source file in the /java/bin directory then i can compile and run just fine.
Anyone else had any problems like this? I have no clue what is wrong and its annoying.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the reason you put this in Meaningless Drivel is...?
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'cause of the XP thing ?
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like Valentin has both answered Thomas' question, and diagnosed Andy's problem, in the same post. Well done.
Andy - I don't have XP to test on, so I'm just guessing. Do you get the same message when you type "javac" that you would when you type any unrecognized string, e.g. "javab" or "qwyjibo"? If so, I'd concentrate on the system path rather than class path. But I don't have much else to offer - sorry...
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Java Beginner. I think there were already some similar discussions on this.
 
Jim Hall
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good one Valentin
 
Andy Ceponis
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Thomas and Valentin. A boatload of help that was. :roll:
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Andy, I couldn't help
Now seriously!
What is the error message exactly ? Sounds like the PATH variable is not set correctly...
Say you have Java installed in C:\>jdk1.4 then the PATH should be
PATH=%WHATEVER%;C:\>jdk1.4\bin
[ January 16, 2002: Message edited by: Valentin Crettaz ]
 
Andy Ceponis
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Crap, im stoopid. I forgot to name the path variable. Now it works. Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic