Thanks. I should have realized this was easy to work around.=20
> -----Original Message-----
> From: Robert Manning [mailto:rob...@gm...]=20
> Sent: Saturday, January 13, 2007 12:21 PM
> To: Karr, David
> Cc: squ...@li...
> Subject: Re: [Squirrel-sql-users] Can't even install=20
> Squirrel-2.4 if JAVA_HOME not set to Java 5
>=20
> On 1/13/07, Karr, David <dav...@wa...> wrote:
> > Squirrel-2.4 requires Java 5. That's fine. However, it should be=20
> > understood that there will be a transition period where people are=20
> > using both JDK 1.4.2 and Java 5, and they require JDK 1.4.2=20
> for their=20
> > main work, but use Java 5 for some tools. Eclipse works=20
> very well this way.
> > My JAVA_HOME is set for JDK 1.4.2, and I specify the Java 5=20
> runtime on=20
> > the Eclipse command line. I can't even install Squirrel-2.4, much=20
> > less use it, even though I have Java 5 installed.
>=20
> The installer can be run from the command-line using any java=20
> 5 or 6 JRE. It isn't necessary for the JAVA_HOME environment=20
> variable to be set to run the installer. However, you are=20
> correct in that the script to Launch SQuirreL will use the=20
> version specified by JAVA_HOME.
> If you run some java apps that also use JAVA_HOME but require=20
> < 1.5, then you can simply put a line in squirrel-sql.bat=20
> near the top that sets JAVA_HOME to 1.5+ jvm. Java 6 is now=20
> available and SQuirreL 2.4 works with BOTH Java 5 & 6. Maybe=20
> we shouldn't be transitioning from
> 1.4 -> 1.5, but rather 1.5 -> 1.6 :)
>=20
> >
> > The installer should be changed to prompt the user for a Java 5=20
> > runtime directory path, if JAVA_HOME doesn't point to one. =20
> From that,=20
> > the run scripts should use that Java 5 runtime.
>=20
> That's an enhancement that's been discussed. The original=20
> installer did ship with a panel to let you choose, but it=20
> required a JDK - a JRE wasn't sufficient. So we removed it. =20
> We may have time to address it for 2.5
>=20
> Rob
>=20
|