do I have an incorrect java entry

I am trying to hook onto a secure site which uses Junos Pulse. Lately no bytes are being either sent or received even though I ping an IP which should respond.

To try to get some answers, I set up my Ubuntu 15.04 laptop to try to transfer some bytes. I have 64 bit Ubuntu and Junos wants 32 Java. I followed the instructions for adding 32 bit Java. To quote the instuctions:

For example: sudo update-alternatives --install /usr/bin/java java /usr/java32/jre1.7.0_03/bin/java 10.

I installed the jdk instead of the jre, but my problem is that I mistakenly pointed the –install command to the jdk java instead of the jre java. Afterwards I added the jre java and now I have both

ilan@ilan-Len-G585:~$ update-alternatives --display javajava - manual mode
  link currently points to /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java
/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java - priority 1061
  slave java.1.gz: /usr/lib/jvm/java-6-openjdk-amd64/jre/man/man1/java.1.gz
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java - priority 1071
  slave java.1.gz: /usr/lib/jvm/java-7-openjdk-amd64/jre/man/man1/java.1.gz
/usr/lib/jvm/jdk1.7.0_76/bin/java - priority 1071
/usr/lib/jvm/jdk1.7.0_76/jre/bin/java - priority 1071
Current 'best' version is '/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java'.

The offending line is: /usr/lib/jvm/jdk1.7.0_76/bin/java – priority 1071. The next line is correct since it has jre before bin.

My question is actually 2: 1) does the first line do any damage? and 2) how do I delete it, just to be sure?


Source: ubuntu

Leave a Reply