icedtea-web creates the script /usr/libexec/icedtea-web/itweb-settings from a template in the source that uses java version with all 4 numbers. icedtea-web is not rebuilt when icedtea-bin is upgraded, so the script does not work anymore. Reproducible: Always Steps to Reproduce: 1. Upgrade icedtea-bin to 6.1.13.5 from 6.1.13.3 2. Run itweb-settings 3. Actual Results: # itweb-settings /usr/bin/itweb-settings: line 24: /opt/icedtea-bin-6.1.13.3/jre/bin/java: No such file or directory Expected Results: Script running.
Same for the package's other executable, javaws.
I just noticed this myself. I'll see if I can do something about it when bumping to 1.6.
I am hitting this too in all my computer when icedtea-bin was updated recently. It looks like icedtea-web needs to be rebuilt after icedtea-bin update. Sadly, I am unsure about how subslots will work with that || ( ) dependency form that is being used to handle icedtea and icedtea-bin :/
(In reply to Pacho Ramos from comment #3) > Sadly, I am unsure about how subslots will work with that || ( ) dependency > form that is being used to handle icedtea and icedtea-bin :/ I will fix this so that the path isn't hardcoded and that complicated dependency logic will hopefully go away too.
*** Bug 562386 has been marked as a duplicate of this bug. ***
(In reply to James Le Cuirot from comment #4) > (In reply to Pacho Ramos from comment #3) > > Sadly, I am unsure about how subslots will work with that || ( ) dependency > > form that is being used to handle icedtea and icedtea-bin :/ > > I will fix this so that the path isn't hardcoded and that complicated > dependency logic will hopefully go away too. Currently itweb-settings, javaws and policyeditor look for /etc/.java/.deploy/deployment.properties whereas the icedtea-web ebuild creates /etc/.java/deployment/deployment.properties. Furthermore, the scripts seem to expect the jre/ dir inside the icedtea installation as deployment.jre.dir. I have fixed this issue on my system in the following way: $ itweb-settings list /usr/bin/itweb-settings: linia 98: /opt/icedtea-bin-7.2.5.3/jre/bin/java: Nie ma takiego pliku ani katalogu $ sudo mv /etc/.java/{deployment,.deploy}/ $ cat /etc/.java/.deploy/deployment.properties deployment.jre.dir=/etc/java-config-2/current-icedtea-web-vm $ sudo /bin/sh -c "echo deployment.jre.dir=/etc/java-config-2/current-icedtea-web-vm/jre > /etc/.java/.deploy/deployment.properties" $ itweb-settings list deployment.log.headers: false deployment.proxy.same: false
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.
*** Bug 573904 has been marked as a duplicate of this bug. ***
*** Bug 573906 has been marked as a duplicate of this bug. ***
*** Bug 581858 has been marked as a duplicate of this bug. ***