• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Java JRE newer version upgrade from an old version

E

EdwinL

Guest
Hi all -

I searched high and low and couldn't find anywhere in the web and the parallels forums how this seemingly simple and common task may be done. I have this Plesk Panel for Linux 9.5.2 that comes with a godaddy dedicated server, and to my surprise a 'java -version' in the box's o/s command shows jre 1.4.x (too old for my app.)

The problem is, in the plesk admin there seems nowhere that says you can upgrade your tomcat or jre, instead there's this little green arrow next to the java/tomcat icon that tells you everything is just fine. Except it's not really...

I could manually upgrade java that's not a problem. Question is how to keep the connection between plesk and java after such a manual, outside of plesk hack. I basically need my tomcat to find the new jre. How does plesk (and by extension the tomcat that it administers) know where to find the jre I want it to find? Does it use a JAVA_HOME variable through /etc/profile, /etc/environment, etc?

It's a CentOS, so RPM based, I suppose.

I'm going to try and test it out, but meanwhile any discussion or input will be interesting.

I also opened a ticket (paid $75) to Parallels just for this question. (The project's in a time crunch.) But it's taking them painfully slow to go back and forth on the ticket - almost 24 hours now without any real progress. So fairly slow for my needs anyway. And they seem to be more interested in doing it for me then sharing how it may be done. Which means, next time the same question comes up there'd be another ticket ...

Just throwing this one out. Hopefully the community can come up with some good info so we may all save a little expenses and time...

thanks
Ed

Jabez Networks, Inc.
Web Solutions, E-commerce, and SEO Consulting
 
Last edited by a moderator:
Hi,

Did you get an answer on this from the support staff? If so, it would be great to share this with the community as Im sure your not the only one who has had or will have this question since 1.4.(2?) is still the default.

# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-50)
 
If memory serves, CentOS that our system was using does not have higher java version support from Parallels. From Parallels it's not their problem but that of CentOS. So the conclusion was either not use CentOS, or work with the java version that's supported.

After 25 email exchanges with Parallels, this is basically the conclusion, which is if there's big need in Tomcat 6, it is better to use SuSe 11.1 in which it is provided with OS.
###

Eventually we put those applications of ours on environments without Plesk. It was simply put a failed exercise with a bright spot which is that we learnt the lesson: In a Plesk environment, work only through what Parallels provides and not to tweak anything under it. Or use an environment without Plesk.

Ed
Jabez Networks, Inc.
Web Solutions, E-commerce, and SEO Consulting
 
Last edited by a moderator:
CentOS 5 has a java-1.6.0-openjdk package which gives you OpenJDK 1.6.0. If you need Oracle's version of Java, I think you'll have to download it from their site.
 
Back
Top