Re: java: cannot execute - too many levels of symbolic links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 09/08/2014 05:42 PM, Thorsten Jolitz wrote:
> 
> Hi List,
> 
> after updating yesterday java does not work anymore for me:
> 
> ,---- | [tj@arch ~]$ LC_ALL=C java --help | /usr/bin/java: line 2:
> /usr/lib/jvm/default/bin/java: Too many levels of | symbolic links 
> | /usr/bin/java: line 2: exec: /usr/lib/jvm/default/bin/java:
> cannot | execute: Too many levels of symbolic links `----
> 
> with '/usr/bin/java -> /usr/lib/java-common-wrapper' containing:
> 
> #+BEGIN_SRC shell #!/bin/bash exec
> "${JAVA_HOME:-/usr/lib/jvm/default}/bin/${0##*/}" "$@" #+END_SRC
> 
> I remember some Java lib was updated recently - anyone else with
> this problem?
> 

I only have jre-7-openjdk installed, so I reinstalled jre7-openjdk and
jre7-openjdk-headless.  The archlinux-java fix trick works for me too.

> kyle@landru /usr/lib/jvm
> $ la
> total 148
> drwxr-xr-x   3 root root   4096 Sep  8 18:44 .
> drwxr-xr-x 233 root root 139264 Sep  8 18:35 ..
> lrwxrwxrwx   1 root root     18 Sep  8 18:44 default -> java-7-openjdk/jre
> lrwxrwxrwx   1 root root     18 Sep  8 18:44 default-runtime -> java-7-openjdk/jre
> drwxr-xr-x   3 root root   4096 Aug 26 20:25 java-7-openjdk
> lrwxrwxrwx   1 root root      7 Sep  8 18:27 java-default-runtime -> default

--Kyle


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux