Sara:
You can always set the explicit path to a certain JDK through eclipse's
command line switch "vm" (virtual machine). If you have a specific JDK
installed in "C:\My Stuff\My Sun JDK", you can specify this by starting
eclipse with:
eclipse -vm C:/My Stuff/My Sun JDK
If you're using Windows, you'd probably want to create a shortcut, and
append the VM command switch in the "Target:" field ("Shortcut" tab).
But I must say, I'm almost sure that if you install a JDK as usual, Eclipse
is going to detect your JDK with no problems. Why do you need to set the
path explicitly?
P.S.: I do indeed use this, but to run ecipse on my pen drive, using a JDK I
installed on my pen drive to. This way I can run / compile / develop my Java
projects with Eclipse on any computer, having admin privileges or not :)
On Fri, Jul 10, 2009 at 4:35 AM, Barbara Martina Rodeker <
[email protected]> wrote:
>
> Hi,
>
> About your first doubt, if you are using Windows OS, you can open
> a DOS console an type the following: java -version. So you can inspect
> the version you have installed. If you want to explicitly set the
> path, you have to open 'My PC', do rigth click, go to 'Advanced
> Option', so at the bottom you have the option 'Environment Variables¡,
> so you have to change the variable JAVA-HOME, or add it if you have
> not it configured. I hope it information was useful.
>
> Bye.
>
> On 9 jul, 10:05, Sara Henry <[email protected]> wrote:
> > Hi,
> >
> > I would also like to add to my previous mail that i have downloaded
> Eclipse 3.4.
> >
> > Doubt 1)
> > I did not explicity set any path for jdk/jre explicitly but I am able to
> run my simple java program.
> > I need to know how to set the path for jdk explicitly.
> >
> > Doubt 2)
> > We don't need to instal Apache Tomcat for J2SE but for J2EE?
> >
> > Will appretiate your help for clearing these basic doubts.
> >
> > Thanks.
>
> >
>
--
Diogo Sales Oliveira
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---