• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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