[
https://issues.apache.org/jira/browse/OPENMEETINGS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601429#comment-13601429
]
Jeff Clay commented on OPENMEETINGS-472:
----------------------------------------
I have installed the latest jdk from sun using my script below
yum remove java*openjdk -y
cd /root/prereqs/jdk
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com"
"http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-x64.rpm"
mv -f /root/prereqs/jdk/* /root/prereqs/jdk/jdk7.rpm
yum remove jdk
yum localinstall jdk7.rpm
cd /etc/alternatives
yum install libreoffice -y
rm -f /etc/alternatives/java
ln -s /usr/java/jdk1.7.0_17/bin/java java
openjdk 1.6 keeps installing as a dependency of libreoffice but as you can see
below, java -version shows 1.7.0_17
[root@conf red5sip]# yum list jdk
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.rackspace.com
* extras: mirror.anl.gov
* rpmforge: repoforge.spinellicreations.com
* rpmforge-extras: repoforge.spinellicreations.com
* updates: bay.uchicago.edu
Installed Packages
jdk.x86_64
2000:1.7.0_17-fcs
@/jdk7
[root@conf red5sip]#
[root@conf red5sip]# yum list java*openjdk
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: mirror.rackspace.com
* extras: mirror.anl.gov
* rpmforge: repoforge.spinellicreations.com
* rpmforge-extras: repoforge.spinellicreations.com
* updates: bay.uchicago.edu
Installed Packages
java-1.6.0-openjdk.x86_64
1:1.6.0.0-1.57.1.11.9.el6_4
@updates
Available Packages
java-1.7.0-openjdk.x86_64
1:1.7.0.9-2.3.8.0.el6_4
updates
[root@conf red5sip]#
[root@conf red5sip]# java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
[root@conf red5sip]#
> red5sip rev68 will not run
> --------------------------
>
> Key: OPENMEETINGS-472
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-472
> Project: Openmeetings
> Issue Type: Bug
> Components: VoIP/SIP
> Affects Versions: 2.1 Apache Release
> Environment: CentOS 6.3, OM 2.1, red5sip downloaded from svn link
> Reporter: Jeff Clay
> Assignee: Maxim Solodovnik
> Priority: Blocker
> Fix For: 2.1 Apache Release
>
>
> I downloaded the entire svn repository for rev68 of red5phone, which includes
> red5sip within /svn/branches. I copied the red5sip directory into /opt/ and
> edited the JAVA_HOME path within red5sip.sh. When I attempt to run red5sip.sh
> start or red5sip.sh run I get the errors listed below.
> [root@fred red5sip]# ./red5sip.sh start
> Starting red5sip service
> 13/11/2012 09:23:48 14659 jsvc error: JSVC re-exec requires execution with an
> absolute or relative path
> [root@fred red5sip]# ./red5sip.sh run
> Error: Could not find or load main class org.red5.sip.app.Main
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira