Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: amicheals on October 05, 2006, 05:23:07 PM
-
Hi,
I installed Java SDK on my server in the root directory, but when I tried to run a java type program it did not register. Does anyone know in what directory I should install java so that I can run a java based program from one of my ibays.
Thanks
Amy
-
Good question. Follow this HOWTO:
http://www.helmuth.net/mitel-sme/SunJDK/sunjdk-howto.htm
It's dated but should still work.
Also, here are my scribble notes from a project I was working on. It may be duplicate notes from the howto or I thought Sun's confusing documentation didn't make it any easier.
INSTALL ON SME
-java JDK (not JRE, not J2EE) must be installed
-get java JDK http://java.sun.com/j2se/1.5.0/download.jsp (get the JDK package)
-look under the J2EE section & find the latest JDK
-get "linux rpm in self-extracting file" (jdk-1_5_0_06-linux-i586-rpm.bin)
-./j2eesdk-*
-link java with a "ln -s /usr/java/jdk/bin/java /usr/bin" before java will work
-test java with a: java -version
-copy jar file to dir
-"java -jar java_installer.jar"
-
Mabe this post on centos will help
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2903
-
I had a need for Sun java the other day.
Found some rpms on the sipx site so added them to yum..
[root@tiger ~]# db yum_repositories show sipx
sipx=repository
BaseURL=http://www.sipfoundry.org/pub/sipX/3.4/RPM/centos/4
EnableGroups=yes
GPGCheck=no
Name=sipx java
Visible=no
status=disabled
[root@tiger ~]#
and then
yum --enablerepo=sipx install java-1.5.0 java-1.5.0-sun-devel java-1.5.0-sun-jdbc
Worked for me. YMMV.
sipX (http://sipx-wiki.calivia.com/index.php/HowTo_Create_a_Build_Environment_for_sipX_on_CentOS_4.3#Install_Sun_Java_SDK_1.5)