Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JRE/JDK install path

843798Oct 19 2009 — edited Oct 19 2009
I am trying to change the path that java installs under on a RHEL5 machine. I know this is easy to do with the bin file, but I would like to do this with the rpm. I am currently installing java-1.5.0-sun via RPM.

I have control over the rpm SPEC file and can rebuild it as required, but I am not very familiar with rpmbuild. Is there a was to pass the install path to the build? Or is there another way to alter the RPM install location?

Thanks in advance for all your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 16 2009
Added on Oct 19 2009
6 comments
312 views