Toolkit won't run when JDK 1.5 installed

Discussion in 'C-Bus Toolkit and C-Gate Software' started by cueman, Dec 30, 2004.

  1. cueman

    cueman

    Joined:
    Aug 3, 2004
    Messages:
    20
    Likes Received:
    0
    Location:
    Oxford, UK
    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
     
    cueman, Dec 30, 2004
    #1
  2. cueman

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Thanks for that info and workaround Paul. We will look into that shortly.
     
    Duncan, Dec 31, 2004
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.