More IDS install woe ...
Posted in 2010
Neil Truby couldn't install IDS 11.50.FC6 on RHEL 5.4: the Java-based InstallShield installer failed to find a usable JVM (GNU gcj/libgcj errors, "Failed to find VM"), and the RPM route died with a %post scriptlet failure. Others reported the same installer working fine with no JAVA_HOME set, and noted that the system's GNU Java was likely being picked up; one poster suggested sourcing .jvm-bin and running ids-install with an explicit -javahome. Art Kagel agreed the Java installer was a mistake and said it's reworked in the upcoming "Panther" release. No confirmed fix for Neil's box is recorded.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Java & JDBC Development
IDS 11.5 FC6 on RHEL 5.4 More JavaShite problems with the normal install and get the stuff below starting ++++++. Even Surnam's workaround of extracting the .jvm.bin can't save me this time. Try the RPM install: sh CZ79JEN_ids_115_fc6_ee_rpm.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Failed to find VM - aborting Fixed that by Googling and unsetting some vital security feature ;-)))) [root@jp-1 11.5]# rpm -i iif-11.50.FC6-0.x86_64.rpm Installation failed exit status = 1 error: %post(iif-11.50.FC6-0.x86_64) scriptlet failed, exit status 1 Why IS this so difficult????????!!!!!!!!! Any ideas greatefully received,. thanks. Neil +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Initializing InstallShield Wizard........ Verifying JVM.Exception in thread "main" java.lang.NoClassDefFoundError: version at gnu.java.lang.MainThread.run(libgcj.so.7rh) Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh) Verifying JVM.Exception in thread "main" java.lang.NoClassDefFoundError: version at gnu.java.lang.MainThread.run(libgcj.so.7rh) Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh) Searching 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 -javahome to specify a valid JRE. For more help use the option -help.
This works for me installing IIF_11.50.FC6W1, no java home set, no path to java. # which java /usr/bin/which: no java in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin) # ./installserver Do you want to run installer in GUI mode [y/n] : n Initializing InstallShield Wizard........ Launching InstallShield Wizard........ Welcome to the InstallShield Wizard for IBM Informix Dynamic Server Version 11.50 The InstallShield Wizard will install IBM Informix Dynamic Server Version 11.50 on your computer. To continue, choose Next. IBM Informix Dynamic Server Version 11.50 IBM Corporation http://www.ibm.com Press 1 for Next, 3 to Cancel or 4 to Redisplay [1] -----Original Message----- From: informix-list-bounces@iiug.org [mailto:informix-list-bounces@iiug.org] On Behalf Of Neil Truby Sent: Friday, 26 March 2010 11:17 AM To: informix-list@iiug.org Subject: More IDS install woe ... IDS 11.5 FC6 on RHEL 5.4 More JavaShite problems with the normal install and get the stuff below starting ++++++. Even Surnam's workaround of extracting the .jvm.bin can't save me this time. Try the RPM install: sh CZ79JEN_ids_115_fc6_ee_rpm.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Failed to find VM - aborting Fixed that by Googling and unsetting some vital security feature ;-)))) [root@jp-1 11.5]# rpm -i iif-11.50.FC6-0.x86_64.rpm Installation failed exit status = 1 error: %post(iif-11.50.FC6-0.x86_64) scriptlet failed, exit status 1 Why IS this so difficult????????!!!!!!!!! Any ideas greatefully received,. thanks. Neil +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Initializing InstallShield Wizard........ Verifying JVM.Exception in thread "main" java.lang.NoClassDefFoundError: version at gnu.java.lang.MainThread.run(libgcj.so.7rh) Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh) Verifying JVM.Exception in thread "main" java.lang.NoClassDefFoundError: version at gnu.java.lang.MainThread.run(libgcj.so.7rh) Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at java.lang.ClassLoader.loadClass(libgcj.so.7rh) at gnu.java.lang.MainThread.run(libgcj.so.7rh) Searching 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 -javahome to specify a valid JRE. For more help use the option -help. _______________________________________________ Informix-list mailing list Informix-list@iiug.org http://www.iiug.org/mailman/listinfo/informix-list
"Chin, Paul (TSG-OSDO)" <pchin@hp.com> wrote in message news:mailman.65.1269564424.1071.informix-list@iiug.org... This works for me installing IIF_11.50.FC6W1, no java home set, no path to java. Yes, it's worked for me fine on other servers too. I have problems on perhaps one install in ten. It's not within my power always to use the same Linux distro or version. This one is an RHEL 5.4 install straight out of the box. My point is that the Java-based scripting was introduced for, so far as I can see, no good reason at all. It adds no discernible functionality BUT, if there's an issue, you are basically stuffed, and can't install IDS. I resent its introduction. I've tried 2 or 3 times but never managed to install with the new rpm method.
On Fri, Mar 26, 2010 at 10:58, Neil Truby <neil.truby@ardenta.com> wrote: > > My point is that the Java-based scripting was introduced for, so far as I > can see, no good reason at all. It adds no discernible functionality BUT, > if there's an issue, you are basically stuffed, and can't install IDS. I > resent its introduction. > > I've tried 2 or 3 times but never managed to install with the new rpm > method. > In your case it seems that the GNU java is installed and used. The answer from the previous poster should work. Otherwise, I can only agree with you (in my purely personal opinion). Regards, Bogdan BOTEZ.
Neil, I agree, the Java installer was a bad idea. It underlying purpose was noble - to have a single installer everywhere, but as with other noble causes, the results weren't as good and the purpose. I'm not revealing anything proprietary by saying that this is addressed in the Panther installer. In my testing so far no problems. Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Fri, Mar 26, 2010 at 4:58 AM, Neil Truby <neil.truby@ardenta.com> wrote: > "Chin, Paul (TSG-OSDO)" <pchin@hp.com> wrote in message > news:mailman.65.1269564424.1071.informix-list@iiug.org... > This works for me installing IIF_11.50.FC6W1, no java home set, no path to > java. > > Yes, it's worked for me fine on other servers too. I have problems on > perhaps one install in ten. It's not within my power always to use the > same > Linux distro or version. This one is an RHEL 5.4 install straight out of > the > box. > > My point is that the Java-based scripting was introduced for, so far as I > can see, no good reason at all. It adds no discernible functionality BUT, > if there's an issue, you are basically stuffed, and can't install IDS. I > resent its introduction. > > I've tried 2 or 3 times but never managed to install with the new rpm > method. > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list >
On Mar 26, 4:08 pm, Art Kagel <art.ka...@gmail.com> wrote: > Neil, I agree, the Java installer was a bad idea. It underlying purpose was > noble - to have a single installer everywhere, but as with other noble > causes, the results weren't as good and the purpose. I'm not revealing > anything proprietary by saying that this is addressed in the Panther > installer. In my testing so far no problems. > > Art > > Art S. Kagel > Advanced DataTools (www.advancedatatools.com) > IIUG Board of Directors (a...@iiug.org) > > See you at the 2010 IIUG Informix Conference > April 25-28, 2010 > Overland Park (Kansas City), KSwww.iiug.org/conf > > Disclaimer: Please keep in mind that my own opinions are my own opinions and > do not reflect on my employer, Advanced DataTools, the IIUG, nor any other > organization with which I am associated either explicitly, implicitly, or by > inference. Neither do those opinions reflect those of other individuals > affiliated with any entity with which I am affiliated nor those of the > entities themselves. > > On Fri, Mar 26, 2010 at 4:58 AM, Neil Truby <neil.tr...@ardenta.com> wrote: > > "Chin, Paul (TSG-OSDO)" <pc...@hp.com> wrote in message > >news:mailman.65.1269564424.1071.informix-list@iiug.org... > > This works for me installing IIF_11.50.FC6W1, no java home set, no path to > > java. > > > Yes, it's worked for me fine on other servers too. I have problems on > > perhaps one install in ten. It's not within my power always to use the > > same > > Linux distro or version. This one is an RHEL 5.4 install straight out of > > the > > box. > > > My point is that the Java-based scripting was introduced for, so far as I > > can see, no good reason at all. It adds no discernible functionality BUT, > > if there's an issue, you are basically stuffed, and can't install IDS. I > > resent its introduction. > > > I've tried 2 or 3 times but never managed to install with the new rpm > > method. > > > _______________________________________________ > > Informix-list mailing list > > Informix-l...@iiug.org > >http://www.iiug.org/mailman/listinfo/informix-list In my installation on Ubuntu, steps below seem to work, please check this 1) cd $INFORMIXDIR 2) . ./.jvm-bin 3) ./ids-install -javahome /home/informix/ids1150 Thanks prasad