Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552640 - dev-java/icedtea-7.2.5.5: Your custom jre (/lib/rt.jar check) /etc/java-config-2/current-icedtea-web-vm is not valid. Please fix deployment.jre.dir in your deployment.properties. In attempt to run using default one.
Summary: dev-java/icedtea-7.2.5.5: Your custom jre (/lib/rt.jar check) /etc/java-confi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-20 14:50 UTC by Andrew Savchenko
Modified: 2016-01-01 22:54 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,10.56 KB, application/x-info)
2015-06-20 14:50 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2015-06-20 14:50:34 UTC
Created attachment 405424 [details]
emerge --info

Hello,

while running web java app I encountered problems and noticed the following in the firefox output:

Your custom jre (/lib/rt.jar check) /etc/java-config-2/current-icedtea-web-vm is not valid. Please fix deployment.jre.dir in your deployment.properties. In attempt to run using default one.

I have icedtea-7.2.5.5 installed and selected as both system-vm and user-vm. icedtea-web@icedtea-7 is selected as java-nspluging and icedtea-web-1.5.1-r1 is installed.

/usr/lib/jvm/icedtea-7/lib indeed lacks rt.jar. I fixed this issue by creating symlink for ../jre/lib/rt.jar in this dir.
Comment 1 Andrew Savchenko gentoo-dev 2015-06-20 14:51:20 UTC
After creating this symlink java plugin works fine.
Comment 2 James Le Cuirot gentoo-dev 2015-06-20 15:08:34 UTC
I don't think I've seen this before but the VM selection for icedtea-web is a bit messed up in general and addressing it is on my todo list.
Comment 3 Andrew John Hughes 2015-06-24 13:20:42 UTC
It sounds like it needs to be pointed at /usr/lib/jvm/<jdk>/jre rather than /usr/lib/jvm/<jdk>.
Comment 4 James Le Cuirot gentoo-dev 2016-01-01 22:54:04 UTC
Fixed in 1.6.1. I would close this when it's stable but that might not be for a little while so I'll close it now. We ideally need virtual/jdk-1.8 to go stable first for a long chain of reasons that are hard to explain.