openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Cottham" <Stephen.Cott...@robertbird.com.au>
Subject RE: Sun SDK
Date Wed, 06 Mar 2013 08:54:35 GMT
>From my guide on the wiki:

 

mkdir -p /usr/adm

cd /usr/adm

 

wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin

 

Now issue the following to install it and correct the default java.

 

cd /usr/adm

chmod +x jdk-6u32-linux-x64.bin

./jdk-6u32-linux-x64.bin

mkdir -p /usr/lib/jvm

mv jdk1.6.0_32 /usr/lib/jvm/

 

Then update alternatives:

 

update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1

update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1

update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1

 

update-alternatives --config javac

update-alternatives --config java

update-alternatives --config javaws

 

you can now issue

 

java -version

 

will show Sun Java.

 

Cheers

 

 

 

Stephen Cottham
Group IT Manager (Associate)

Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 633 2880 (UK)
Fax: +6173 319 2799
 
Mobile:  +61400 756 963 (AUS)
Mobile:  +447900 918 616 (UK)
Web: www.robertbird.com


This email and any attachments are confidential and may contain legally privileged information
or copyright material. Unless expressly stated, confidentiality and/or legal privilege is
not intended to be waived by the sending of this email. The contents of this email, including
any attachments, are intended solely for the use of the individual or entity to whom they
are addressed. If you are not an intended recipient, please contact us immediately by return
email and then delete both messages. You may not otherwise read, forward, copy, use or disclose
this email or any attachments. Any views expressed in this email are those of the individual
sender except where the sender expressly, and with authority, states otherwise. It is your
responsibility to check any attachments for viruses or defects before opening or sending them
on. None of the sender or its related entities accepts any liability for any consequential
damage resulting from this email containing computer viruses. 

Disclaimer added by CodeTwo Exchange Rules	
http://www.codetwo.com	

-----Original Message-----
From: Marcus Wellnitz [mailto:wellnitz@datenwerk-it.de] 
Sent: 06 March 2013 08:51
To: dev@openmeetings.apache.org
Subject: Re: Sun SDK

 

Something went wrong with the formatting :-(

 

wget https://github.com/flexiondotorg/oab-java6/raw/0.2.7/oab-java.sh <https://github.com/flexiondotorg/oab-java6/raw/0.2.7/oab-java.sh>
 -O oab-java.sh chmod +x oab-java.sh sudo ./oab-java.sh sudo ./oab-java.sh -7 aptitude update
debconf-set-selections << END sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true
sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true sun-java6-bin shared/accepted-sun-dlj-v1-1
boolean true END aptitude install ...

 

Marcus

 

Am 06.03.2013 09:41, schrieb Marcus Wellnitz:

> It's a little bit offtopic but try this:

> wget https://github.com/flexiondotorg/oab-java6/raw/0.2.7/oab-java.sh <https://github.com/flexiondotorg/oab-java6/raw/0.2.7/oab-java.sh>


> -O oab-java.sh

> sudo oab-java.sh

> sudo oab-java.sh -7

> 

> |aptitude update|

> |debconf-set-selections << END|

> |sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true| 

> |sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true| 

> |sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true|

> |END|

> 

> aptitude install oracle-java7-jdk

> or

> aptitude install sun-java6-jdk

> 

> Marcus

> 

> Am 06.03.2013 09:13, schrieb Oliver becherer:

>> hi,

>> 

>> thanks for the update - just doing a ubuntu install with OM and there 

>> are problems using the Sun SDK, so i'll try with OpenJDK!

>> 

>> 

>> 

>> Am 05.03.2013 um 20:48 schrieb Alexei Fedotov:

>> 

>>> Hallo Smoeker,

>>> 

>>> OpenJDK works, yet it is a bit less stable than Sun due to higher 

>>> memory concumption.

>>> 05.03.2013 23:46 ???????????? "Smoeker" <smoeker@gmail.com <mailto:smoeker@gmail.com>
> ???????:

>>> 

>>>> hi guys,

>>>> 

>>>> could you give me a hint, why the sun sdk is required   for running om

>>>> (not openJDK)?

>>>> 

>>>> thanks in advance!

>>>> 

>>>> cheers

>>>> 

>>>> 

> 

> 

 

 

--

Marcus Wellnitz

Datenwerk GmbH

Vogelsbergstr. 34

60316 Frankfurt am Main

 

Telefon +49 (0) 69/9434086-0

Fax     +49 (0) 69/9434086-9

E-Mail  hosting@datenwerk-it.de <mailto:hosting@datenwerk-it.de> 

Web     www.datenwerk-it.de <http://www.datenwerk-it.de> 

 

Sitz: Frankfurt am Main, Amtsgericht  Frankfurt am Main HRB 55221

Geschäftsführer: Michael Beck

 



Mime
View raw message