Author |
Message |
robi
|
|
Post subject: wrong java links
Posted: 23.04.2012, 17:55
|
|
Joined: 2012-04-23
Posts: 2
Status: Offline
|
|
Hi,
aptosid installation went well, thanks for the fine work. I just had a problem with java webstart and icedtea web controll panel. I have installed openjdk-java-7 and found out that there are wrong links in /etc/alternatives/
The links of @javaws and @itweb-settings point to java-6. After changing that to java-7, everything worked fine. Now I can start applets and the settings-tool.
I did not install anything from java-6 manually and when I tried to remove openjdk-6-jre apt-get told me, that it is not installed.
I do not know if anybody else had that problem.
regards,
robi |
|
|
|
|
|
hubi
|
|
Post subject: RE: wrong java links
Posted: 23.04.2012, 22:02
|
|
Moderator
Joined: 2010-09-11
Posts: 228
Location: Vienna (AT)
Status: Offline
|
|
Does this root command help?
Code:
update-alternatives --config java
hubi |
_________________ Tilos Rádió Budapest
|
|
|
|
|
slam
|
|
Post subject: RE: wrong java links
Posted: 24.04.2012, 12:27
|
|
Team Member
Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
|
|
|
slam
|
|
Post subject: RE: wrong java links
Posted: 24.04.2012, 13:10
|
|
Team Member
Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
Temporary hack:
Code:
rm /etc/alternatives/javaws
rm /etc/alternatives/itweb-settings
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws /etc/alternatives/javaws
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings /etc/alternatives/itweb-settings
Please be aware that manually editing /etc/alternatives is a bad idea in most cases, it might break postinstall scripts from upgrades later on.
Greetings,
Chris |
_________________ an operating system must operate
development is life
my Debian repo
|
|
|
|
|
slam
|
|
Post subject: RE: wrong java links
Posted: 24.04.2012, 13:53
|
|
Team Member
Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
|
|
|
DeepDayze
|
|
Post subject: Re: RE: wrong java links
Posted: 24.04.2012, 15:26
|
|
Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
|
|
slam wrote:
Temporary hack:
Code:
rm /etc/alternatives/javaws
rm /etc/alternatives/itweb-settings
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws /etc/alternatives/javaws
ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings /etc/alternatives/itweb-settings
Please be aware that manually editing /etc/alternatives is a bad idea in most cases, it might break postinstall scripts from upgrades later on.
Greetings,
Chris
Perhaps noting the original /etc/alternatives settings should be saved somewhere so they can be copied back when a fixed package becomes available so that the postinstall scripts won't break on the upgrades later |
|
|
|
|
|
robi
|
|
Post subject: RE: Re: RE: wrong java links
Posted: 24.04.2012, 16:05
|
|
Joined: 2012-04-23
Posts: 2
Status: Offline
|
|
I changed the links within mc (C-x C-s). Is that the same?
regards,
robi |
|
|
|
|
|
slam
|
|
Post subject: RE: Re: RE: wrong java links
Posted: 25.04.2012, 11:09
|
|
Team Member
Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
|
|
|
|