Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
long zhao
Which Java version I should use?
September 9, 2011 4:03 PM
Answer

long zhao

Rank: Junior Member

Posts: 39

Join Date: August 29, 2011

Recent Posts

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.
Hitoshi Ozawa
RE: Which Java version I should use?
September 10, 2011 1:35 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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
RE: Which Java version I should use?
September 12, 2011 8:41 AM
Answer

Michael Harper

Rank: Junior Member

Posts: 56

Join Date: August 10, 2011

Recent Posts

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
Hitoshi Ozawa
RE: Which Java version I should use?
September 12, 2011 3:42 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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
RE: Which Java version I should use?
September 13, 2011 11:25 AM
Answer

Michael Harper

Rank: Junior Member

Posts: 56

Join Date: August 10, 2011

Recent Posts

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.
Hitoshi Ozawa
RE: Which Java version I should use?
September 13, 2011 5:03 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

I justed wanted to provide information to all about the warning. It's up to you to make the final choice.
Jeroen Caarls
RE: Which Java version I should use?
June 20, 2012 12:27 AM
Answer

Jeroen Caarls

Rank: New Member

Posts: 2

Join Date: February 3, 2011

Recent Posts

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.
Muniraj saravanan
RE: Which Java version I should use?
June 20, 2012 12:39 AM
Answer

Muniraj saravanan

Rank: Junior Member

Posts: 75

Join Date: June 1, 2011

Recent Posts

We have tested liferay deployed on centOS with sun JDK1.6 , working fine

thanks
Saravanan
Hitoshi Ozawa
RE: Which Java version I should use?
June 20, 2012 2:50 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

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.
Ross Stanley
RE: Which Java version I should use?
June 21, 2012 3:48 AM
Answer

Ross Stanley

Rank: New Member

Posts: 2

Join Date: June 15, 2009

Recent Posts

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:

1yum install urw-fonts