Re: InstallShield Bundled Java - funguje pod Debianem 9, ale ne pod Debianem 10

pushkin <[email protected]>
Newsgroups gmane.user-groups.linux.czech
Message-ID <[email protected]>
Tak jsem vyhrabal někde na netu fosílii jdk 1.5.0u22 a
naistaloval. Sama o sobě funguje, ale instalátor jí
ignoruje, ačkoliv se identifikuje správně:

root@pushkin-ntb:/usr/lib/jvm/jdk1.5.0_22/jre/bin# ./java
-cp /tmp/istemp5268364105230/Verify.jar Verify java.vendor
java.version 1739021872 Sun Microsystems Inc. 1.5.0_22

... což odpovídá odpovědi z bundlu na Debianu 9:

write(1, "1739021872", 10) = 10 write(1, "\n", 1) = 1
write(1, "Sun Microsystems Inc.", 21) = 21 write(1, "\n", 1)
= 1 write(1, "1.5.0_01", 8) = 8 write(1, "\n", 1) = 1

Instalátor loguje následující:

Log file created by MultiPlatform installer @Po pro 30
10:52:30 CET 2019
INSTALLER_PATH=/home/pushkin/tmp/Electronics_195_linx64/Linux/AnsysEM/disk1/setup.exe.IShield
running inner
launcher=/tmp/istemp5268364105230/setup.exe.embedded
-is:orig
/home/pushkin/tmp/Electronics_195_linx64/Linux/AnsysEM/disk1
-is:javahome /usr/lib/jvm/jdk1.5.0_22/jre/ -is:log log.txt
Log file created by MultiPlatform installer @Po pro 30
10:52:30 CET 2019
INSTALLER_PATH=/tmp/istemp5268364105230/setup.exe.embedded
command line switch -is:javahome is specified. Verifying the
JVM with the JVM files specifed with the launcher. JVM
specified with -is:javahome cannot be verified with the JVM
files specified with the launcher. Environment Variables
will be checked next... Checking the environment variables
specifed in the JVM files to find the JVM... No JVM can be
found using the shell environment variable. Searching JVM
will continue with Path Hints specified in the JVM Files...
jvm files not specified. Searching a JVM can not be
performed. Extracting bundled JRE... checking disk space on
the parition /tmp/istemp5268364105230 for
/tmp/istemp5268364105230/jre-1_5_0_01-linux64.bin 49190 512
bytes disk blocks required. 129124936 512 bytes disk blocks
available on the partition /tmp/istemp5268364105230 Disk
space check on the parition /tmp/istemp5268364105230
succeeded. checking disk space on the parition
/tmp/istemp5268364105230 for
/tmp/istemp5268364105230/jre-1_5_0_01-linux64.bin 142261 512
bytes disk blocks required. 129076224 512 bytes disk blocks
available on the partition /tmp/istemp5268364105230 Disk
space check on the parition /tmp/istemp5268364105230
succeeded. Verifying...
/tmp/istemp5268364105230/_bundledJRE_/bin/java -cp
/tmp/istemp5268364105230/Verify.jar Verify java.vendor
java.version Verification failed for
/tmp/istemp5268364105230/_bundledJRE_ using the JVM file
/tmp/istemp5268364105230/_bundledJRE_/jvm

... co z toho chápu je, že instalátor porovnává odpověď Javy
z nějakým JVM souborem, který si s sebou nese. Když se do
něj mrknu (soubor /tmp/istemp5268364105230/_bundledJRE_/jvm,
přikládám), tak mi ale připadá, že má instalace Javy 1.5
splňuje vše, co v tom souboru je (pokud tedy instalátor
hledá stejné vlastnosti i v "cizí" Javě)...

Zobrazit: http://www.abclinuxu.cz/poradna/linux/show/451708#8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.