This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Error installing on Solaris 10
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 27, 2007
03:12 PM
Error installing on Solaris 10
I have an install for Solaris that works on a few Solaris machines but there is one machien that I can't get the installer to run on. Everytime I run the installer is comes back with an error:
./installer.bin: /usr/bin/sparcv9/java: not found
Looking in the sparcv9 directory there is no java and I don't have permissions to create a link to it there. I made the jvm do a full search and even bundle a jvm with the installer but for some reason I cannot get it to run.
Here is the information I got out of a log file when running the installer, I can't make much sense of it, hopefully someone can help me.
Checking the environment variables specifed in the JVM files to find the JVM...
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verification passed for /usr/bin/sparcv9/java using the JVM file /tmp/istemp23724117160609/sun.jre.1.5.0.solaris64.jvm.
-cp:p operand is empty
-cp:a operand is empty
checking disk space on the parition /tmp/istemp23724117160609 for /tmp/istemp23724117160609/setup.jar
25884 512 bytes disk blocks required.
Cheking for disk quotas...
Disk quotas not enabled for swap...
2010240 512 bytes disk blocks available on the partition /tmp/istemp23724117160609
Disk space check on the parition /tmp/istemp23724117160609 succeeded.
Build time Java arguments are not specified.
Run time Java arguments are not specified.
Warning: internal error parsing Java arguments. Launcher command may be missing Java Arguments.
setting up prelaunch environment
LAUNCH_COMMAND="/usr/bin/sparcv9/java" -cp .:::::"/tmp/istemp23724117160609/setup.jar"::::: -Djava.io.tmpdir="/tmp" -Dtemp.dir="/tmp" -Dis.jvm.home="/usr" -Dis.jvm.temp="0" -Dis.media.home="/tmp/istemp23724117160609/setup.jar" -Dis.launcher.file="/tmp/./Solaris_SQS36_fs.bin" -Dis.jvm.file="/tmp/istemp23724117160609/sun.jre.1.5.0.solaris64.jvm" -Dis.external.home="/tmp/." run 1>>SQSlog.txt 2>>/tmp/istemp23724117160609/APP_STDERR
Thanks,
Eric
./installer.bin: /usr/bin/sparcv9/java: not found
Looking in the sparcv9 directory there is no java and I don't have permissions to create a link to it there. I made the jvm do a full search and even bundle a jvm with the installer but for some reason I cannot get it to run.
Here is the information I got out of a log file when running the installer, I can't make much sense of it, hopefully someone can help me.
Checking the environment variables specifed in the JVM files to find the JVM...
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jdk.1.4.2.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris64.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verifying... /bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris64.jvm
Verifying... /usr/bin/java -cp /tmp/istemp23724117160609/Verify.jar Verify java.vendor java.version
Verification passed for /usr/bin/sparcv9/java using the JVM file /tmp/istemp23724117160609/sun.jre.1.5.0.solaris64.jvm.
-cp:p operand is empty
-cp:a operand is empty
checking disk space on the parition /tmp/istemp23724117160609 for /tmp/istemp23724117160609/setup.jar
25884 512 bytes disk blocks required.
Cheking for disk quotas...
Disk quotas not enabled for swap...
2010240 512 bytes disk blocks available on the partition /tmp/istemp23724117160609
Disk space check on the parition /tmp/istemp23724117160609 succeeded.
Build time Java arguments are not specified.
Run time Java arguments are not specified.
Warning: internal error parsing Java arguments. Launcher command may be missing Java Arguments.
setting up prelaunch environment
LAUNCH_COMMAND="/usr/bin/sparcv9/java" -cp .:::::"/tmp/istemp23724117160609/setup.jar"::::: -Djava.io.tmpdir="/tmp" -Dtemp.dir="/tmp" -Dis.jvm.home="/usr" -Dis.jvm.temp="0" -Dis.media.home="/tmp/istemp23724117160609/setup.jar" -Dis.launcher.file="/tmp/./Solaris_SQS36_fs.bin" -Dis.jvm.file="/tmp/istemp23724117160609/sun.jre.1.5.0.solaris64.jvm" -Dis.external.home="/tmp/." run 1>>SQSlog.txt 2>>/tmp/istemp23724117160609/APP_STDERR
Thanks,
Eric
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2007
07:10 PM
I get this error when I include the 64 bit JVMs in the search.
No solution, as I posted separately, I generally don't get very much success with this at all 😞
No solution, as I posted separately, I generally don't get very much success with this at all 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2007
01:11 PM
If the installation is somehow detecting that java is in the directory but it isnt, it kind of makes sense why it is failing. The real question is this: why is it finding it in that location?
Perhaps you have some vars in your environment that are defining it there? You can also specify the java location on the command line as a temporary work around.
Perhaps you have some vars in your environment that are defining it there? You can also specify the java location on the command line as a temporary work around.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 13, 2007
05:51 PM
For me, I don't have JAVA_HOME set, and "which java" returns "/bin/java" (/bin being a symlink to /usr/bin on Solaris 10)
More info:
As you can see, it just did this part, then exited
More info:
This is quite frustrating. Telling me to run with -is:log in the output from.... -is:log
That's horrible.
Anyways, this works fine:
java -cp setup.jar run
So it's not a question of being able to find java, it seems like it's more a question of ISMP wanting more than it needs (and being completely unable to figure out what it has)
(I set it up as before, but without the 64bit vms, so it didn't fail with the sparcv9 message as before)
$ which java
/bin/java
More info:
$ ./setupSolaris.bin -is:log log.txt -console
Initializing Wizard........
Verifying JVM.
$
As you can see, it just did this part, then exited
More info:
$ cat log.txt
Log file created by MultiPlatform installer @Fri Jul 13 16:44:09 PDT 2007
INSTALLER_PATH=/tmp/dana/./setupSolaris.bin
Checking the environment variables specifed in the JVM files to find the JVM...
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verifying... /usr/bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.0.solaris.jvm
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verifying... /usr/bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.1.solaris.jvm
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verifying... /usr/bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
$JDK_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris.jvm
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4.2.solaris.jvm
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verifying... /usr/bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.4X.solaris.jvm
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verifying... /usr/bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
$JAVA_HOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.5.0.solaris.jvm
$JAVAHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.5.0.solaris.jvm
$JDKHOME is not defined in the shell environment specifed in the JVM FILE sun.jre.1.5.0.solaris.jvm
Verifying... /bin/java -cp /tmp/istemp26358194164408/Verify.jar Verify java.vendor java.version
Verification passed for /bin/java using the JVM file /tmp/istemp26358194164408/sun.jre.1.5X.solaris.jvm.
JavaHome is not resolved correctly in the jvm file /tmp/istemp26358194164408/sun.jre.1.5X.solaris.jvm. Failed to launch the application.
Launch Script can't not be resolved. Run the installer with -is:logto view the errors.
This is quite frustrating. Telling me to run with -is:log in the output from.... -is:log
That's horrible.
Anyways, this works fine:
java -cp setup.jar run
So it's not a question of being able to find java, it seems like it's more a question of ISMP wanting more than it needs (and being completely unable to figure out what it has)
(I set it up as before, but without the 64bit vms, so it didn't fail with the sparcv9 message as before)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2007
08:59 PM
dlacoste - For this issue alone I always use a bundled JVM! This issue was killing me in my testing for a lot of people running the installers on Unix had /bin set up first in their PATH env var and when the installer searches, it looks through your PATH var first! If it finds a java command in a /bin directory - I guess it assumes it is the bin directory of the Java installation and looks for the javas ./lib directory from there which causes the failure, as in;
/bin/java
/lib --> on the root!
The only way around it is for the user NOT to have /bin in the path or set the JAVAHOME env var prior to running!
Regards,
Tom
/bin/java
/lib --> on the root!
The only way around it is for the user NOT to have /bin in the path or set the JAVAHOME env var prior to running!
Regards,
Tom
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2007
03:44 PM
I posted a solution to the problem I was having (that I think would, as a side effect, fix this problem too) in a new thread entitled "How to make solaris work"
Hope that helps 🙂
Hope that helps 🙂
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)