Menu

#6 Problems testing the example hello

open
nobody
None
5
2005-06-27
2005-06-27
Anonymous
No

Hello together, I tested this brilliant software with the
example hello. Unfortunately, I always got this error:

java.io.IOException: Runtime exception: check if you
have installed the JDK and
run java from the JDK
Exception message: CreateProcess:
C:\Programme\Java\j2re1.4.2_07\bin\javac Hello
Setup.java error=2
at com.memoire.vainstall.VAArchiver.compile
(Unknown Source)
at com.memoire.vainstall.VAArchiver.start
(Unknown Source)
at com.memoire.vainstall.VAInstall.main(Unknown
Source)

What am I doing wrong????? Thanks for any help!!

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hi,
    you need to use the java SDK. VAinstall use the javac to
    compile the installer.
    I believe that if you install the sdk 1.4.2_08, this error
    will disappear.

    HTH
    Fred

     
  • Nobody/Anonymous

    Logged In: NO

    Hi Fred,

    thanks for your fast help. Starting java from my JDK and not
    from the jre solved my problem. Now I have an other
    question. If I remove the signs of commentaries of the lnf
    entries, it will not take any effect in my graphic installer.
    What am I doing wrong?

    # ui = graphic | xtra | text | ansi (default=graphic)
    vainstall.destination.ui=graphic
    #The lnf is used for the graphic ui only
    #To enable the lnf, please uncomment these following 2
    lines, and use
    # -the full class name for vainstall.lnf.class
    # -the path for the lnf jar file (relative)
    vainstall.lnf.class=com.jgoodies.looks.plastic.Plastic3DLookA
    ndFeel
    vainstall.lnf.jar=looks.jar
    vainstall.lnf.class=[SYSTEM_LNF]

     
  • Nobody/Anonymous

    Logged In: NO

    If you use the line :
    vainstall.lnf.class=[SYSTEM_LNF]
    The system lnf should be used by VAINstall. I've tested it
    on windows and on Linux.

    If you want to use another lnf, you can use these two lines:
    vainstall.lnf.class=com.jgoodies.looks.plastic.Plastic3DLookAndFeel
    vainstall.lnf.jar=looks.jar
    With this configuration, the Jgoodies lnf will be used. Do
    not forget to add the jar file (looks.jar) in the directory
    of the vai file.