#77 Does not run with Java 1.4

open
nobody
None
5
2007-12-30
2007-12-30
Ronny Standtke
No

On http://jsmooth.sourceforge.net/download.php it reads:
"The JSmooth project editor requires Java 1.4 or higher."
This is no longer true. Java 1.5 or later is required. The webpage should be updated.

Discussion

  • Jeffb
    Jeffb
    2008-02-03

    Logged In: YES
    user_id=1999314
    Originator: NO

    Not only the webpage, but can this be fixed or handled so that apps built with JSmooth do not receive a fatal error. This is the debug log if it helps. As mentioned, this error occurs on all JSmooth apps with this older installation of the JVM. The simple solution is to remove older version of JVM, but it would be better if JSmooth handled this condition.

    Trying to use a JVM defined in the registry (2 available)
    VM will be tried in the following order: 1.4.2;1.4.0;
    - Trying registry: <c:\program files\javasoft\jre1.4\1.4.2><c:\program files\jav
    asoft\jre1.4\1.4.2\bin\client\jvm.dll><1.4.2>
    Running now <c:\program files\javasoft\jre1.4\1.4.2><c:\program files\javasoft\j
    re1.4\1.4.2\bin\client\jvm.dll><1.4.2>, instanciate=no
    Launching <c:\program files\javasoft\jre1.4\1.4.2><c:\program files\javasoft\jre
    1.4\1.4.2\bin\client\jvm.dll><1.4.2>
    RuntimeLibPath used: c:\program files\javasoft\jre1.4\1.4.2\bin\client\jvm.dll
    Saving jnismoothjar in C:\Users\Owner\AppData\Local\Temp\temp116.jar
    Created temporary filename to hold the jar (C:\Users\Owner\AppData\Local\Temp\te
    mp116.jar)
    ClassPath element is C:\Users\Owner\Documents\UltraQuitWin\ + UltraQuit.jar
    ClassPath element 0=C:\Users\Owner\Documents\UltraQuitWin\UltraQuit.jar
    VM Created successfully
    DLL Setup on 1.4.2
    Classpath: -Djava.class.path=C:\Users\Owner\AppData\Local\Temp\temp116.jar;C:\Us
    ers\Owner\Documents\UltraQuitWin\UltraQuit.jar;
    VM 1.2+ Created successfully !!
    Looking up for class <jsmooth/Native>
    Can't find class jsmooth/Native !
    Result code on DLL: 1
    Looking up for class <UltraQuit>
    Can't find class UltraQuit !
    Looking up for class <java/lang/String>
    Can't find class java/lang/String !