Results 1 to 5 of 5
Thread: Testing The Environment
- 03-20-2011, 11:42 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 2
- Rep Power
- 0
Testing The Environment
I'm working from a book to teach me programming in Java. I downloaded JDK 6 (Update 24) and then tried to test the set up. I typed 'java -version' and the results looked ok. But when I did 'javac -version' I got an error message, stating that 'javac' isn't recognised. Any ideas??
- 03-20-2011, 11:50 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,400
- Blog Entries
- 7
- Rep Power
- 17
- 03-20-2011, 01:43 PM #3
You did install the JDK, didn't you?I downloaded JDK 6 (Update 24) and then tried to test the set up.
And if you did install it, did you change any target folders from the default?
db
- 03-20-2011, 02:32 PM #4
usually to work properly java need the environment variable JAVA_HOME to be set (on window system no backslash at the end) and an entry in the environment variable path with %JAVA_HOME&\bin to find the executables like javac. tell, if you are working on a linux because running java on linux the configuration is different.
- 03-20-2011, 05:52 PM #5
Member
- Join Date
- Mar 2011
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Testing if it is an Int and if not ask again
By Alexander_003 in forum New To JavaReplies: 2Last Post: 11-27-2010, 12:09 AM -
Testing arguments
By and0rsk in forum New To JavaReplies: 6Last Post: 10-10-2010, 11:17 AM -
Testing on ME Emulator
By phams in forum New To JavaReplies: 3Last Post: 06-16-2010, 04:02 AM -
Testing JUnit PDE with Ant
By keynan in forum EclipseReplies: 0Last Post: 02-14-2008, 11:35 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks