構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
Pouya Kondori
installing jdk on ubuntu v.10 64 bit
2011/08/30 11:24
答え

Pouya Kondori

ランク: New Member

投稿: 5

参加年月日: 2010/11/11

最近の投稿

I tried to install Liferay 6 with Tomcat bundle.
after typing command:
1sudo apt-get install sun-java6-jdk

this message appeared:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate

after trying lots of commands, finally I tried to install openjdk with this command:
1sudo apt-get install openjdk-6-jdk

and finally I could install java jdk on my server. emoticon
Gabriel Leon Leyva
RE: installing jdk on ubuntu v.10 64 bit
2011/08/30 11:46
答え

Gabriel Leon Leyva

ランク: Regular Member

投稿: 239

参加年月日: 2009/06/20

最近の投稿

Oracle retires licence for distributing its Java with Linux

With a brief news item, Oracle has retired the "Operating System Distributor License for Java" (DLJ) that was created by Sun in 2006. The non-free licence had allowed Linux distributors to package and distribute Sun's, and later Oracle's, Java versions in their Linux distributions. Sun made this licence available after releasing Java as open source at the JavaOne conference in 2006. It was designed to ensure that users had easy access to packages containing the well-tested Sun Java during the development of the free OpenJDK.



hhmm
Gabriel Leon Leyva
RE: installing jdk on ubuntu v.10 64 bit
2011/08/30 11:53
答え

Gabriel Leon Leyva

ランク: Regular Member

投稿: 239

参加年月日: 2009/06/20

最近の投稿

http://www.h-online.com/open/news/item/Oracle-retires-licence-for-distributing-its-Java-with-Linux-1332835.html
Hitoshi Ozawa
RE: installing jdk on ubuntu v.10 64 bit
2011/08/30 14:07
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

You can still download it and install it from Oracle's site:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

I think OpenJDK had some problems with Liferay. I'm not sure if it has been fixed in the recent version of OpenJDK.
Pouya Kondori
RE: installing jdk on ubuntu v.10 64 bit
2011/08/30 14:50
答え

Pouya Kondori

ランク: New Member

投稿: 5

参加年月日: 2010/11/11

最近の投稿

yes, it's about 4 hours that I'm working on portal, I saw " timed out" page lots of times.
is it possible to install jdk again without any re-installing for liferay?
Hitoshi Ozawa
RE: installing jdk on ubuntu v.10 64 bit
2011/08/30 21:07
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Yes. Just delete OpenJDK and install Oracle JDK.
Patrick Cornelissen
RE: installing jdk on ubuntu v.10 64 bit
2012/03/12 6:53
答え

Patrick Cornelissen

ランク: New Member

投稿: 2

参加年月日: 2009/07/14

最近の投稿

Hitoshi Ozawa:
I think OpenJDK had some problems with Liferay. I'm not sure if it has been fixed in the recent version of OpenJDK.

The problem is that liferay uses parts of the internal sun (or now oracle) API, which should not be used outside of JDK code.
I hope that this problem will be fixed in liferay by using the proper API, due to the licensing of the oracle java package, the willingness of admins to use anything other than the openJDK will drop even more. And this is definitively not a problem of the openjdk. THEY follow the rules ;-)