PDA

View Full Version : ISMP 5.0 on IRIX 6.5: Bundled JVMs for IRIX 6.5



aquila
04-14-2003, 05:31 PM
I found the following JVM's for my Solaris and Linux distributions:

Solaris-Sun-1.4.1_01.bin
Linux-Sun-1.4.1_01.bin

I need one for my IRIX distribution but I can't find it.
Does it exist? If not, how can I build one?

Thanks.

aquila
05-01-2003, 12:55 PM
Okay, here is what I got so far.

I've generated a self-extract .bin file for the IRIX JRE. When executed, it will generate the bin, bin32, lib, lib32, and a jvm file. The content of the jvm looks like this:
===
JVM_EXE: bin/java
CLASSPATH: "-cp "
CLASSPATH_SEPARATOR: :
SYSTEM: "-D"
SYSTEM_SEPARATOR: =
INITIAL_HEAP_SIZE: "-Xms"
MAXIMUM_HEAP_SIZE: "-Xmx"
JVM_PROPERTIES:
"java.vendor=Sun..."
"java.version=1.4.1..."
/:
PLATFORM_HINT:
JAVA_HOME
JAVAHOME
JDKHOME
/:
PATH_HINT:
"/usr/java2"
"/usr/java"
/:
===

I then built an IRIX distribution with the .bin file bundled in the setup.bin.

When I ran the setup.bin, I got:
===
Initializing InstallShield Wizard........
Extracting Bundled JRE.
Installing Bundled JRE.
Verifying JVM.

This application requires a Java Run Time Environment (JRE)
to run. Searching for one on your computer was not successful.
Please use the command line switch -is:javahome to specify
a valid JRE. For more help use the option -is:help.
===

I used par to trace the file open sys calls and found the JRE did get unzipped to the tmp _bundledJRE_ directory.

What should I do from here to figure out why the JVM verifying failed? I really need to have this issue resolved ASAP. Any hint would be greatly appreciated. Thanks.

RobertDickau
05-01-2003, 01:07 PM
Regarding these lines from your .jvm file:

JVM_PROPERTIES:
"java.vendor=Sun..."
"java.version=1.4.1..."

Are these the actual java.vendor and java.version values returned by your IRIX JRE?

aquila
05-01-2003, 02:52 PM
The version is correct:

# bin/java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Java HotSpot(TM) Client VM (build 1.4.1, mixed mode)

But I "think" the vendor should be "Silicon...". (How do you get the java vendo
r info?)

So I modified the jvm to use the following:
JVM_PROPERTIES:
"java.vendor=Sil..."
"java.version=1.4..."

But it still failed on verifying the JVM.
:(

RobertDickau
05-01-2003, 03:03 PM
To find the value, perhaps try compiling and running a class like this:


public class PropTest
{
public static void main(String[] args)
{
System.out.println("java.version = " +
System.getProperty("java.version"));
System.out.println("java.vendor = " +
System.getProperty("java.vendor"));
}
}

Jeff Dillon
05-01-2003, 03:21 PM
Or you can simply try removing the java.vendor line, it is not needed.

You can also test the bundle by executing it at a command line. It should self extract into the current directory.

aquila
05-01-2003, 03:29 PM
The bundle extracts itself into the current directory correctly when executed from the command line. But for some reason the installer failed to recognize that it is a valid JRE.

Is there anyway that I can send this bundle to you guys?

Thanks.

aquila
05-15-2003, 10:06 AM
In my original post:

When I ran the setup.bin, I got:
===
Initializing InstallShield Wizard........
Extracting Bundled JRE.
Installing Bundled JRE.
Verifying JVM.

This application requires a Java Run Time Environment (JRE)
to run. Searching for one on your computer was not successful.
Please use the command line switch -is:javahome to specify
a valid JRE. For more help use the option -is:help.
===

Is it possible that it failed at Verifying JVM step?
Again, the installer runs fine if I manually install
the JVM and use -is:javahome to specify the JRE.

Thanks.

aquila
05-16-2003, 03:57 PM
I used -is:log option and found the following error at the end:

Verifying... /usr/tmp/istemp212525136154629/_bundledJRE_/bin/java -cp /usr/tmp/istemp212525136154629/Verify.jar Verify java.version
Verification passed for /usr/tmp/istemp212525136154629/_bundledJRE_ using the JVM file /usr/tmp/istemp212525136154629/_bundledJRE_/jvm.
-cp:p operand is empty
-cp:a operand is empty
checking disk space on the parition /usr/tmp/istemp212525136154629 for /usr/tmp/istemp212525136154629/setup.jar
419171 512 bytes disk blocks required.
726480 512 bytes disk blocks available on the partition /usr/tmp/istemp212525136154629
Disk space check on the parition /usr/tmp/istemp212525136154629 succeeded.
Extracted Installer JAR archive file size incorrect. archive may be corrupt. Failed to launch the application.

Does any one know how to resolve/workaround this issue? Which file does it refer to?

Thanks.

aquila
05-16-2003, 04:03 PM
Okay, I think it refers to the setup.jar file. The size for the original setup.jar is 212519383 . However the size of istemp212525136154629/setup.jar is 159252480 . How should I proceed from here?

Thanks.

aquila
05-19-2003, 06:42 PM
All my issues have finally been resolved with the help of the following knowledgebase article:

http://support.installshield.com/kb/view.asp?articleid=q105139

Thanks for all your help along the way.