• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

problem with sdk 1.4 beta and winXP

 
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.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the reason you put this in Meaningless Drivel is...?
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'cause of the XP thing ?
 
Wanderer
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...
 
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.
 
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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic