Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    167

    Unanswered: InstallShield Wizard fails (with JVM error)...

    I've tried everything I can think of, but the InstallShield Wizard continures to fail with the following JVM error...

    bash-3.00# ./setup -console

    InstallShield Wizard

    Initializing InstallShield Wizard...

    Searching for Java(tm) Virtual Machine...
    ...........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>



    So I tried the following...

    STEP 01) To confirm that Java is installed, I ran the java -version command. I received the following output...

    bash-3.00# java -version
    java version "1.5.0_17"
    Java(TM) Platform, Standard Edition for Business (build 1.5.0_17-b04)
    Java HotSpot(TM) Server VM (build 1.5.0_17-b04, mixed mode)



    STEP 02) Then I tried to locate the location of where Java was installed...

    bash-3.00# which java
    /usr/bin/java



    STEP 03) Then I confirmed what was in my $PATH environment variable...

    bash-3.00# echo $PATH
    /usr/sbin:/usr/bin



    STEP 04) Then I tried to confirm if it was a symbolic link or not...

    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java



    STEP 05) The symbolic link doesn't seem to match any of the output below. So I'm wondering which is the correct location / path of Java (JVM / JRE)?

    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    /usr/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/apache/naming/java
    /usr/apache/tomcat55/classes/org/apache/naming/java
    /usr/apache/jserv/docs/api/org/apache/java
    /usr/j2se/bin/java
    /usr/j2se/bin/sparcv9/java
    /usr/j2se/jre/bin/java
    /usr/j2se/jre/bin/sparcv9/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/activitysupplier/activitysupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/airlinesupplier/airlinesupplier-ejb/src/java
    /usr/appserver/samples/blueprints/adventure1.0.4/project/apps/bank/bank-ejb/src/java
    .................................................. .............................................
    .................................................. .........
    ..........................
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/clientCert/clientCert-war/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-client/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-share/src/java
    /usr/appserver/samples/webservices/security/web/apps/xms/xms-war/src/java
    /usr/appserver/samples/xml/apps/dom/src/java
    /usr/appserver/samples/xml/apps/sax/src/java
    /usr/appserver/samples/xml/apps/xslt/src/java
    /opt/staroffice8/share/Scripts/java


    Is there something I'm overlooking?

    Thank you

  2. #2
    Join Date
    Mar 2007
    Posts
    167

    Took the additional steps (but InstallShield Wizard fails (with JVM error))...

    I've been racking my head against the wall, but can't seem to find the solution... I've even installed the latest JRE (in a new location), but still seem to have the same problem. Please see the notes below...


    I installed the latest JRE in /export/home/jvm/jre1.6.0_17/


    bash-3.00# /export/home/jvm/jre1.6.0_17/bin/java -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
    Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)


    bash-3.00# PATH=/export/home/jvm/jre1.6.0_17/bin:$PATH
    bash-3.00# export PATH
    bash-3.00# echo $PATH
    /export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin

    bash-3.00# JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    bash-3.00# export JAVA_HOME
    bash-3.00# echo $JAVA_HOME
    /export/home/jvm/jre1.6.0_17/bin



    bash-3.00# env
    HZ=100
    LC_MONETARY=en_CA.UTF-8
    TERM=xterms
    SHELL=/sbin/sh
    LC_NUMERIC=en_CA.UTF-8
    OLDPWD=/export/home/jvm/jre1.6.0_17
    PATH=/export/home/jvm/jre1.6.0_17/bin:/usr/sbin:/usr/bin
    MAIL=/var/mail/root
    LC_MESSAGES=C
    LC_COLLATE=en_CA.UTF-8
    PWD=/export/home/jvm/jre1.6.0_17/bin
    JAVA_HOME=/export/home/jvm/jre1.6.0_17/bin
    EDITOR=vi
    TZ=Japan
    SHLVL=1
    HOME=/
    LOGNAME=root
    LC_CTYPE=en_CA.UTF-8
    LC_TIME=en_CA.UTF-8
    _=/usr/bin/env



    bash-3.00# cd /cdrom/disc1050709/
    bash-3.00# ./setup -console
    InstallShield Wizard

    Initializing InstallShield Wizard...

    Searching for Java(tm) Virtual Machine...
    .........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>



    Is there something I'm missing?

    Thank you

  3. #3
    Join Date
    Mar 2007
    Posts
    167

    Just a little more info...

    Just a little more info... I tried another way, but it didn't succeed either. Please see the notes below.

    bash-3.00# ls -al /export/home/jvm/jre1.6.0_17/bin/
    total 1476
    drwxr-xr-x 2 root root 512 Nov 11 13:48 .
    drwxr-xr-x 8 root root 512 Nov 11 13:49 ..
    lrwxrwxrwx 1 root root 10 Nov 11 13:48 ControlPanel -> ./jcontrol
    -rwxr-xr-x 1 root root 52860 Oct 11 02:45 java
    -rwxrwxr-x 1 root root 19552 Oct 11 02:49 java_vm
    -rwxrwxr-x 1 root root 114668 Oct 11 02:49 javaws
    -rwxrwxr-x 1 root root 6347 Oct 11 02:49 jcontrol
    -rwxr-xr-x 1 root root 47684 Oct 11 02:45 keytool
    -rwxr-xr-x 1 root root 47812 Oct 11 02:45 orbd
    -rwxr-xr-x 1 root root 47708 Oct 11 02:45 pack200
    -rwxr-xr-x 1 root root 47708 Oct 11 02:45 policytool
    -rwxr-xr-x 1 root root 47680 Oct 11 02:45 rmid
    -rwxr-xr-x 1 root root 47692 Oct 11 02:45 rmiregistry
    -rwxr-xr-x 1 root root 47692 Oct 11 02:45 servertool
    -rwxr-xr-x 1 root root 47848 Oct 11 02:45 tnameserv
    -rwxr-xr-x 1 root root 151216 Oct 11 02:45 unpack200


    bash-3.00# ./setup -console -is:javahome /export/home/jvm/jre1.6.0_17/bin/
    InstallShield Wizard

    Initializing InstallShield Wizard...

    Searching for Java(tm) Virtual Machine...
    ...........................A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>

  4. #4
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    Quote Originally Posted by ftmjr View Post
    bash-3.00# ls -al /usr/bin/java
    lrwxrwxrwx 1 root other 16 Jun 24 01:54 /usr/bin/java -> ../java/bin/java

    STEP 05) The symbolic link doesn't seem to match any of the output below. So I'm wondering which is the correct location / path of Java (JVM / JRE)?

    bash-3.00# find / -name java -print;
    /usr/share/lib/java
    /usr/share/java
    /usr/bin/java
    /usr/sfw/include/mozilla/java
    /usr/include/firefox/java
    /usr/jdk/instances/jdk1.5.0/bin/java
    /usr/jdk/instances/jdk1.5.0/bin/sparcv9/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/java
    /usr/jdk/instances/jdk1.5.0/jre/bin/sparcv9/java
    /usr/jdk/packages/javax.help-2.0/doc/api/com/sun/java
    /usr/java
    ...
    Is there something I'm overlooking?
    It is possible to have several instances (versions) of java installed
    follow the links
    /usr/java is another link that will lead to the jdk version

  5. #5
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    I sugest you set JAVAHOME=<the_path_to_the_java_version_required_by _intall>
    then PATH=$JAVAHOME/bin:$PATH

  6. #6
    Join Date
    Mar 2007
    Posts
    167

    JVM provided with InstallShield

    Hi pdreyer,

    Thank you for your constructive feedback.

    I've given your advice a try, but unfortunately I wasn't successful in getting InstallShield to work. Hmmm... scratching my head on why it's not working. Your advice is consistent with all Sybase's documentation.

    I must be making a simple mistake, or overlooking something simple.

    Curious, have you ever tried using the JVM provided with the InstallShield (on the cdrom)? Sybase recommends the following syntax.

    ./setup -is:javahome /cdrom/JVM

    What are your thoughts?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •