-
1. Re: Error during running JEMS Installer
jaikiran Dec 9, 2008 6:37 AM (in response to gorathek)Please post the output of
java -version
Also, i would not recommend using the JEMS installer since there have been many issues reported in it. The easiest way to install JBossAS is to download the zip file and unzip it to a locaiton of your choice. -
2. Re: Error during running JEMS Installer
gorathek Dec 9, 2008 6:50 AM (in response to gorathek)Hi !
Below is a output from java -version from my host:
[root@localhost ~]# java -version
java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
And i was using sucesfully JEMS Installer on Windows env so i am confused why it thoesn`t work on Linux.
Regards
Marcin -
3. Re: Error during running JEMS Installer
jaikiran Dec 9, 2008 7:36 AM (in response to gorathek)java version "1.4.2"
gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You are using the gcj Java vendor. Please download Sun Java and set JAVA_HOME to point to the Sun Java JDK. That should fix the issue. -
4. Re: Error during running JEMS Installer
gorathek Dec 9, 2008 7:47 AM (in response to gorathek)The strange thing is that i dowloaded it form SUN page :)
And you maybe know some way how to remove that installed thing?
And a correct link to JDK? -
5. Re: Error during running JEMS Installer
jaikiran Dec 9, 2008 8:12 AM (in response to gorathek)In that case, i guess your JAVA_HOME points to the incorrect JDK installation or even the PATH might be pointing to the incorrect JDK. Post the output of
echo $JAVA_HOME
andecho $PATH
To set it correctly, here's what you can do (assuming your Sun JDK is installed at /opt/Java/jdk1.5.0_17/):export JAVA_HOME=/opt/Java/jdk1.5.0_17/ export PATH=$JAVA_HOME/bin:$PATH
-
6. Re: Error during running JEMS Installer
gorathek Dec 9, 2008 8:18 AM (in response to gorathek)[root@localhost j2sdk1.4.2_19]# echo $JAVA_HOME
/usr/java/j2sdk1.4.2_19/
[root@localhost j2sdk1.4.2_19]# echo $PATH
/usr/java/j2sdk1.4.2_19//bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.4.2_19/bin
[root@localhost j2sdk1.4.2_19]# -
7. Re: Error during running JEMS Installer
jaikiran Dec 9, 2008 8:33 AM (in response to gorathek)[root@localhost j2sdk1.4.2_19]# echo $PATH
/usr/java/j2sdk1.4.2_19//bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.4.2_19/bin
You have problem in the path. Note the double // in /usr/java/j2sdk1.4.2_19//bin? It should just be /usr/java/j2sdk1.4.2_19/bin.
And reading my earlier post again, i realize that i was the one who posted the incorrect commands :-)
So here's the corrected version:export JAVA_HOME=/opt/Java/jdk1.5.0_17 export PATH=$JAVA_HOME/bin:$PATH
-
8. Re: Error during running JEMS Installer
gorathek Dec 10, 2008 1:49 PM (in response to gorathek)Thanks it helps :)
Regards
Marcin