掲示板

installing jdk on ubuntu v.10 64 bit

thumbnail
12年前 に Pouya Kondori によって更新されました。

installing jdk on ubuntu v.10 64 bit

New Member 投稿: 5 参加年月日: 10/11/12 最新の投稿
I tried to install Liferay 6 with Tomcat bundle.
after typing command:
sudo 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:
sudo apt-get install openjdk-6-jdk

and finally I could install java jdk on my server. emoticon
thumbnail
12年前 に Gabriel Leon Leyva によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

Regular Member 投稿: 243 参加年月日: 09/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
thumbnail
12年前 に Gabriel Leon Leyva によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

Regular Member 投稿: 243 参加年月日: 09/06/20 最新の投稿
http://www.h-online.com/open/news/item/Oracle-retires-licence-for-distributing-its-Java-with-Linux-1332835.html
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
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.
thumbnail
12年前 に Pouya Kondori によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

New Member 投稿: 5 参加年月日: 10/11/12 最新の投稿
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?
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Yes. Just delete OpenJDK and install Oracle JDK.
12年前 に Patrick Cornelissen によって更新されました。

RE: installing jdk on ubuntu v.10 64 bit

New Member 投稿: 2 参加年月日: 09/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 ;-)