PDA

View Full Version : Toolkit won't run when JDK 1.5 installed


cueman
31 Dec 04, 09:27 AM
After installing JDK 1.5, C-Gate2 fails to start and so Toolkit won't work:

D:\Clipsal\C-Gate2>java -version
java version "1.5.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
Java HotSpot(TM) Client VM (build 1.5.0_01-b08, mixed mode, sharing)

D:\Clipsal\C-Gate2>java -jar cgate.jar
Clipsal C-Gate(TM) v2.1.0 (build 2016)
Java Version 1.4.2 or later required for C-Gate operation.
You must install a later version of Java to operate C-Gate.

JDK1.5 installs a java.exe into the Windows\System32 directory (I don't think previous releases did this) so it becomes the default.

You can work around this by starting C-Gate2 separately, specifying a 1.4.x java exe instead.

Paul

Duncan
31 Dec 04, 02:47 PM
After installing JDK 1.5, C-Gate2 fails to start and so Toolkit won't work:


Thanks for that info and workaround Paul. We will look into that shortly.