Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
Regards, Patrick
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
I am still on 1.4.2, install via yum from Base repo
[root@beyond ~]# rpm -qa | grep java java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 gcc-java-4.1.1-52.el5.2 java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112
Should I upgrade it?
regards
On Thu, 2007-04-19 at 01:37 +0800, CentOS List wrote:
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
I am still on 1.4.2, install via yum from Base repo
[root@beyond ~]# rpm -qa | grep java java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 gcc-java-4.1.1-52.el5.2 java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112
Should I upgrade it?
Probably depends on the application. For example CentricCRM does not work with the Tomcat that is compiled against the Java that's included with CentOS4 (dunno about 5). Just try if your application works and if it doesn't you can always get the Sun JRE/JDK from JPackage.
Regards, Patrick
On Thu, 2007-04-19 at 01:37 +0800, CentOS List wrote:
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
You might find the following helpful: http://wiki.centos.org/HowTos/JavaOnCentOS
I am still on 1.4.2, install via yum from Base repo
[root@beyond ~]# rpm -qa | grep java java-1.4.2-gcj-compat-1.4.2.0-40jpp.112 gcc-java-4.1.1-52.el5.2 java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.112
Should I upgrade it?
Only if you need to. Is it working? If it ain't broke, don't fix it.
Phil
Patrick wrote:
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
Regards, Patrick
Do you have the yum.repo.d file for jpackage?
Patrick wrote:
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
Do you have the yum.repo.d file for jpackage?
CentOS List wrote:
Patrick wrote:
On Wed, 2007-04-18 at 11:19 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Hi,
I had installed java via yum and would like to run jbilling application and got an error.
run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur. Make sure JAVA_HOME points to a JDK and not a JRE.
How can i check where is the JAVA_HOME?
regards
[snip]
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
The JPackage RPM of sun java 1.5.0.11 seems to install the JRE in /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre
Do you have the yum.repo.d file for jpackage?
Okay, I must be doing something wrong.
# wget -P /etc/yum.repos.d http://www.jpackage.org/jpackage.repo # yum search java > /root/java.txt # grep sun java.txt # grep java-1 java.txt
I can't seem to find where anything other than 1.4 is available in the jpackage repo. What am I doing wrong?
Thanks!
On Thu, 2007-04-19 at 14:39 -0500, Benjamin J. Weiss wrote:
CentOS List wrote:
Patrick wrote:
...
Do you have the yum.repo.d file for jpackage?
Okay, I must be doing something wrong.
# wget -P /etc/yum.repos.d http://www.jpackage.org/jpackage.repo # yum search java > /root/java.txt # grep sun java.txt # grep java-1 java.txt
I can't seem to find where anything other than 1.4 is available in the jpackage repo. What am I doing wrong?
Did you enable the appropriate repos by editing the file? (They seem not to have a RHEL-5 repo yet.)
Did you follow
http://wiki.centos.org/HowTos/JavaOnCentOS
and build/install the packages, then select with alternatives?
Phil
I normally take care of JAVA_HOME in /etc/profile in the following manner:
JAVA_HOME="/usr/local/java/j2sdk/" export JAVA_HOME
Thanks alot
I'd like to know how you installed java using yum! I've just downloaded and installed the Java 6 SDK and broken my tomcat5...
I just did "yum install tomcat5"
regards