Thanks for your help guys. I will try eclipse mailing list. On Friday 20 June 2003 20:59, [EMAIL PROTECTED] wrote: > But the way you suggested , he can not have different jdks for different > projects. This same variable wil be used by eclipse for all the projects in > the workspace. > > And I agree.This can go to Eclipse mailing list. > But i dont see any harm in answering if I know the answer .Will help a > fellow strut user.:-))What else u want? > > -----Original Message----- > From: James Mitchell [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2003 2:54 PM > To: Struts Users Mailing List > Subject: Re: [OT] Using different JDK in Eclipse > > > That seems a bit extreme don't you think? > > As I show in that link, I created a "jdk_1_3_1" variable which pointed to > the Java 1.3.1 runtime library. Doing so has no affect on my system > (JAVA_HOME) settings and is only used for THAT project. If I'm not > mistaken, that was the point of the original question. > > To be honest, this issue would have been better served on an eclipse > mailing list or forum. > > > -- > James Mitchell > Software Engineer / Struts Evangelist > http://www.struts-atlanta.org > 770-822-3359 > AIM:jmitchtx > > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, June 20, 2003 5:12 AM > Subject: RE: [OT] Using different JDK in Eclipse > > > That is not true..U can change from default jre to any jre u have > installed. go to menu item Window/preferences/java/instaledjres.It gives > a list of all available jres or u can add new ones if u want. > > But This is applicable to all the projects in the workspace. > So if you want different jre for each project, do as follows. > > When starting eclipse , you can give -data argument as location of the > workspace. > So create a shortcut to eclipse for each project you want to have > different jre .And do soemthing as follows. > > E:\eclipse2.1\eclipse.exe -data E:\eclipse\workspace\Prod01_EquatePlus > where E:\eclipse\workspace\Prod01_EquatePlus points to your workspace for > project. > > And now this will be treated as different eclipse installation.So u can > specify different jre for each project now. > > HTH. > > regards, > Shirish. > -----Original Message----- > From: FrenzyGNX [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2003 11:01 AM > To: Struts Users Mailing List > Subject: Re: [OT] Using different JDK in Eclipse > > > Does that mean the default JRE's javac will always be > invoked when I compile, but the classpath will be > different? > > For example, my default JRE is 1.3.1, but for a > project I want to use 1.4.1, so I change Project > Properties -> Java Build Path -> Library to point to > 1.4.1 libraries as shown in your link. So which javac > will be used now? Does this javac recognizes features > such as assertion? > > I see there is a JDK Compliance option under Project > Properties -> Java Compiler, if I switch it to 1.4 > will it help? > > I guess I can try it out, but if anyone already knows > it, it will be great. > > --- James Mitchell <[EMAIL PROTECTED]> wrote: > > You don't "specify the jdk path", you choose to > > > "include a particular jre" > > in your project. This gives you project-level jre > > selection. > > > > Here's something I threw together for you: > > http://www.struts-atlanta.org/help.do > > > > > > -- > > James Mitchell > > Software Engineer / Struts Evangelist > > http://www.struts-atlanta.org > > 770-822-3359 > > AIM:jmitchtx > > > > > > > > ----- Original Message ----- > > From: "FrenzyGNX" <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" > > <[EMAIL PROTECTED]> > > Sent: Friday, June 20, 2003 12:57 AM > > Subject: Re: [OT] Using different JDK in Eclipse > > > > > Thanks. However, I didn't see any place to specify > > > different JDK home paths. Can you give more > > > > details? > > > > > Thanks again. > > > > > > --- David Graham <[EMAIL PROTECTED]> wrote: > > > > >Is there a way to set up different JDK for > > > > > > > > different > > > > > > > > >projects in Eclipse 2.1? I have to use a > > > > different > > > > > > >version of JDK for certain projects, because of > > > > >dependency on some old packages. > > > > > > > > Right click the project > Properties > Java > > > > Compiler > > > > > > David > > > > > > > > >Thanks. > > > > > >__________________________________________________ > > > > > > > >Do You Yahoo!? > > > > >Send free SMS from your PC! > > > > >http://sg.sms.yahoo.com > > > >--------------------------------------------------------------------- > > > > > > >To unsubscribe, e-mail: > > > > > > > > [EMAIL PROTECTED] > > > > > > > > >For additional commands, e-mail: > > > > > > > > [EMAIL PROTECTED] > > _________________________________________________________________ > > > > > Protect your PC - get McAfee.com VirusScan > > > > Online > > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Send free SMS from your PC! > > > http://sg.sms.yahoo.com > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > __________________________________________________ > Do You Yahoo!? > Send free SMS from your PC! > http://sg.sms.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]