openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #11606
[Bug 1552500] Re: No properties installed in /etc/java-8-openjdk/
Hello,
dpkg tracks modifications that you make to configuration files. It's
complicated.
But the end result is that you can get these files back by simply
purging the packages and then installing them again:
apt-get purge openjdk-8-jre-headless openjdk-8-jdk
apt-get install openjdk-8-jre-headless openjdk-8-jdk
Thanks
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1552500
Title:
No properties installed in /etc/java-8-openjdk/
Status in openjdk-8 package in Ubuntu:
Incomplete
Bug description:
Folder /etc/java-8-openjdk/ is not created and all properties and cfg files are missing after installing from
pool/universe/o/openjdk-8/openjdk-8-jre-headless_8u66-b17-1_amd64.deb
with:
apt-get install openjdk-8-jre-headless openjdk-8-jdk
These files should be installed, but are all missing:
root@ThinkPad-T500:/# dpkg -S /etc/java-8-openjdk/*.*
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/images/cursors/cursors.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/accessibility.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/java.security
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/swing.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/management/snmp.acl
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/sound.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/jvm-amd64.cfg
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/logging.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/calendars.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/flavormap.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/management/jmxremote.password
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/content-types.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/psfont.properties.ja
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/psfontj2d.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/java.policy
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/blacklisted.certs
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/net.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/management/jmxremote.access
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/management/management.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/nss.cfg
In consequence, e.g. NetBeans IDE 8.1 fails with:
root@ThinkPad-T500:/# /usr/local/netbeans-8.1/bin/netbeans
Unrecognized option: -client
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
NetBeans IDE 8.1 still freezes while starting when pinning to 8u45 from vivid and copying jvm-amd64.cfg from java-7 because only 3 files where installed:
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/accessibility.properties
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/java.security
openjdk-8-jre-headless:amd64: /etc/java-8-openjdk/security/java.policy
NetBeans IDE 8.1 runs fine with java-7 after applying the workaround
from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808860
How did I ran into this situation?
NetBeans IDE 8.1 ran fine for long time in my Ubuntu 15.04 with java-8.
Last week I upgraded to 15.10.
Since then it freezed after 2 minutes.
Because I first didn't know about above mentioned bug, I tried several things including new installations of NetBeans and JDK. While doing this at some moment I deleted the /etc/java-8-openjdk/ folder, which was filled like the above list from former installations. I thought, I could delete it in assuming it would become created again when installing openjdk-8-jdk package. But this was not the case. Don't know, which build of jdk-8 I should install to get the files back, 8u45 only did recover 3 files of them.
Because with 8u66-b17-1 no security properties where installed, I file
this bug as a security vulnerability.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1552500/+subscriptions