掲示板

Which Java version I should use?

12年前 に long zhao によって更新されました。

Which Java version I should use?

Junior Member 投稿: 39 参加年月日: 11/08/29 最新の投稿
I'd like to install Liferay on CentOS which has default Open JDK 1.6. Is it good enough or SUN java is better?
And I am still hesitating to use JBoss or Glassfish.
Some experts give me suggestions.

Thanks in advance.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Which Java version I should use?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I think Liferay is being developed and tested with Oracle JDK. There were some differences between Oracle JDK and Open JDK which caused Liferay system to error.
So, to be on safe site, I recommend Open JDK 1.6. I heard the new Java 7 is still buggy.

For you information, I've have systems on CentOS 5.6 with JBoss with Oracle JDK 1.6.
12年前 に Michael Harper によって更新されました。

RE: Which Java version I should use?

Junior Member 投稿: 56 参加年月日: 11/08/10 最新の投稿
I'm currently running our LR 6.0.6 Tomcat bundle on CentOS 6 with Java SE 7 (jdk).

The only issue I have so far is when I do the ./shutdown.sh I get 'possible' memory leaks from a few of the open social processes. Beyond that it is running stable for us.

~ Mike
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Which Java version I should use?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Are you sure everything is working alright because Apache Solr project is issuing an warning about using Java7 with Lucene/Solr.
Liferay by default uses Lucene for indexing and search.

http://lucene.apache.org/solr/
12年前 に Michael Harper によって更新されました。

RE: Which Java version I should use?

Junior Member 投稿: 56 参加年月日: 11/08/10 最新の投稿
Checked with my partner on the project and he said that currently it isn't causing us any problems and by the time we go into full production we're hoping that update 2 will be done and we can implement that.

If not we'll worry about moving to another version then if we need to.
thumbnail
12年前 に Hitoshi Ozawa によって更新されました。

RE: Which Java version I should use?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I justed wanted to provide information to all about the warning. It's up to you to make the final choice.
11年前 に Jeroen Caarls によって更新されました。

RE: Which Java version I should use?

New Member 投稿: 2 参加年月日: 11/02/03 最新の投稿
We did a couple of tests with Liferay 6.1in combination with Open JDK and Java 7. In both cases the server crashed within a couple of days.
thumbnail
11年前 に Muniraj saravanan によって更新されました。

RE: Which Java version I should use?

Junior Member 投稿: 95 参加年月日: 11/06/01 最新の投稿
We have tested liferay deployed on centOS with sun JDK1.6 , working fine

thanks
Saravanan
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Which Java version I should use?

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
I'm using CentOS 5.6 and Redhat 6. I had some problem with CentOS 6 and decided to hold back. I'm not sure if the problem was directly liferay related or if it was a problem with MySQL.
thumbnail
11年前 に Ross Stanley によって更新されました。

RE: Which Java version I should use?

New Member 投稿: 2 参加年月日: 09/06/15 最新の投稿
Using Open JDK 1.6 on CentOS I've seen the error described here but it can be fixed by installing the missing fonts required to load the screen that shows server statistics by running:

yum install urw-fonts