Results 1 to 3 of 3
- 12-22-2010, 08:51 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 2
- Rep Power
- 0
[Solved]Problem Configuring the JDK (slightly confused)
Hello there.
I'm lumzi and I am still a bit new to this whole java thing.
I am having problems with regards to configuring the JDK. I'll list them(For you info, I am using Windows 7):
1. I know you are supposed to go environment variables and from there you are supposed to create a new user variable called with the 'Variable name' called 'Path' and paste something like 'C:\Program Files\Java\jdk1.6.0_23\bin' as the 'variable value'. I also know that if a user variable called path already exists you merely add the directory (the one I posted above) to the end of the variable value (at least I think that is what you should do. But what if you have 'Path' already located in 'System Variables'. What do I do then? Do I still create a new User variable called 'Path'?
2. Also, when I was taught we were supposed to do something with or create something called 'classpath' (i think) but in most the resources I have checked online 'classpath' is never mentioned and in the one case that it is mentioned it did not make much sense to me.
Any assistance regarding this matter will be greatly appreciated.
Edit: Someone actually explained that I should just ignore the 'system variable' and 'classpath' stuff (which I did) and just do the user variable stuff i.e calling the Variable name 'path' and pasting in the directory (C:\Program Files\Java\jdk1.6.0_23\bin). Even with that, if anyone could still shed light on the other stuff, it would be a great help.Last edited by lumzi23; 12-22-2010 at 10:26 PM.
- 12-23-2010, 09:26 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,479
- Rep Power
- 16
What happened when you set the User PATH variable?
Did java work on the command line then?
Also, you don't need to set the classpath. That's a common error. The classpath should be part of your project, not system.
- 12-23-2010, 06:12 PM #3
Member
- Join Date
- Dec 2010
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
problem with configuring hibernate in struts
By Trendy in forum Java ServletReplies: 1Last Post: 11-23-2009, 09:05 AM -
Configuring PMD in eclipse
By UmaMuthu in forum EclipseReplies: 1Last Post: 08-21-2009, 01:12 PM -
Configuring Jboss with Eclipse
By javaplus in forum Advanced JavaReplies: 3Last Post: 05-07-2009, 11:16 AM -
configuring eclipse
By doug99 in forum EclipseReplies: 0Last Post: 03-09-2009, 07:32 PM -
configuring weblogic on eclipse ide
By sai in forum New To JavaReplies: 0Last Post: 11-21-2008, 08:53 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks