Koozali.org: home of the SME Server

Java on SME Server

amicheals

Java on SME Server
« 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

Offline kruhm

  • *
  • 680
  • +0/-0
Java on SME Server
« Reply #1 on: October 08, 2006, 02:55:12 PM »
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"

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
RE: Java on SME Server
« Reply #2 on: October 08, 2006, 03:25:14 PM »
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Java on SME Server
« Reply #3 on: October 08, 2006, 04:35:47 PM »
I had a need for Sun java the other day.

Found some rpms on the sipx site so added them to yum..
Code: [Select]
[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
Code: [Select]
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
Regards,
William

IF I give advise.. It's only if it was me....