Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Not able to run java
Samarth Gupta
Greenhorn
Posts: 4
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i am trying to run javac on XP but unable to do it I have set the path and classpath variables but still its not running. Can someone help me out plz.
Jesus Angeles
Ranch Hand
Posts: 2108
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the error message?
Keith Lynn
Ranch Hand
Posts: 2412
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Could you be more specific?
Are you getting "javac is not a recognized program" or something like that, or are you geting a NoClassDefFoundError?
Samarth Gupta
Greenhorn
Posts: 4
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
javac is not a recognized as an internal or external command, operable or batch file . I have set the path as C:\Program Files\java\jre1.5.0_06\bin; and classpath also.
Keith Lynn
Ranch Hand
Posts: 2412
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The JRE does not contain javac. You need to download the JDK.
Samarth Gupta
Greenhorn
Posts: 4
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
shld i need to install it again? shld i download it from sun.com
Keith Lynn
Ranch Hand
Posts: 2412
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well if you only have the JRE, you won't be able to compile programs. You need to download the JDK. You can find the latest version at java.sun.com
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Aboutt Daemon Threads
Help with running my first program.
I've bought Sybex Java 2 Certification Virtual Trainer
Wrapper Classes
anyone used marathon?
More...