Foros de discusión

Which Java version I should use?

long zhao, modificado hace 12 años.

Which Java version I should use?

Junior Member Mensajes: 39 Fecha de incorporación: 29/08/11 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 12 años.

RE: Which Java version I should use?

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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.
Michael Harper, modificado hace 12 años.

RE: Which Java version I should use?

Junior Member Mensajes: 56 Fecha de incorporación: 10/08/11 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 12 años.

RE: Which Java version I should use?

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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/
Michael Harper, modificado hace 12 años.

RE: Which Java version I should use?

Junior Member Mensajes: 56 Fecha de incorporación: 10/08/11 Mensajes recientes
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
Hitoshi Ozawa, modificado hace 12 años.

RE: Which Java version I should use?

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
I justed wanted to provide information to all about the warning. It's up to you to make the final choice.
Jeroen Caarls, modificado hace 11 años.

RE: Which Java version I should use?

New Member Mensajes: 2 Fecha de incorporación: 3/02/11 Mensajes recientes
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
Muniraj saravanan, modificado hace 11 años.

RE: Which Java version I should use?

Junior Member Mensajes: 95 Fecha de incorporación: 1/06/11 Mensajes recientes
We have tested liferay deployed on centOS with sun JDK1.6 , working fine

thanks
Saravanan
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Which Java version I should use?

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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
Ross Stanley, modificado hace 11 años.

RE: Which Java version I should use?

New Member Mensajes: 2 Fecha de incorporación: 15/06/09 Mensajes recientes
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