Yes you are right you need to create JAVA_HOME variable which would be under system variable and its value should be path where Java Development Kit is installed (For example C:\Program Files\Java\jdk1.6.0_17)
The PATH variable which is already defined under System variable - add path value up to bin of jdk ( for example :C:\Program Files\Java\jdk1.6.0_17\bin) On Thu, Feb 25, 2010 at 7:36 PM, JKid314159 <lucky314...@gmail.com> wrote: > HI! > Almost Success?? > > I am not sure this is the best method. I think I need to make a > JAVA_HOME variable under "Environmental Variables" under either "User > variables for Computer" or "System variables?" This is because as > other components are added the JAVA_HOME variable as to be reference > such as when setting up Glassfish or Tomcat. This is what i am > reading today. > > So, the question is, does the variable go into the "User variables for > Computer" or "System variables" in my Windows 7 system. The > installation included a variable "PATH" with the value C:\Program > Files\Sun\SDK\bin. > But this variable did not work. > > The second question, once the variable JAVA_HOME is created how do I > add that to the PATH variable in the "System variables?" I need to do > this from the GUI windows interface not the command prompt. > > I appreciate your help on this. Thank you. > Alex > > On Feb 24, 7:02 pm, JKid314159 <lucky314...@gmail.com> wrote: > > Re: SUCCESS!!! > > > > Hi! > > > > I found my javac in the following folder: > > C:\Program Files\Sun\SDK\jdk\bin > > > > Went into the Environmental Variables and in the System Variables I > > edited Path. I ammended this path as > > ;C:\Program Files\Sun\SDK\jdk\bin > > > > I restarted the machine. I was able to compile at the command line > > interface with javac. I'll try it in eclipse. > > > > Thank you to all the people who sent suggestions. Thank. > > > > Alex > > -- > You received this message because you are subscribed to the Google > Groups "Java EE (J2EE) Programming with Passion!" group. > To post to this group, send email to > java-ee-j2ee-programming-with-passion@googlegroups.com > To unsubscribe from this group, send email to > java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<java-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com> > For more options, visit this group at > > http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en > -- Mansee Mongia Have an awesome day!! :=) "We will either find a way, or make one!"- Hannibal -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en