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