Please don't email me personally. I asked you to provide more
information, but that doesn't necessarily mean I'm the person who will
be able to help you.

One thing I can tell you is that Debian doesn't ship Oracle JDK, and
we can't provide support for it. And why do you use it when Debian
already ships Java?

---------- Forwarded message ----------
From: Jason Yu <katcom...@gmail.com>
Date: 26 January 2017 at 09:53
Subject: Re: Bug#849511: general: java and javac can't run , it said
"java: error while loading shared libraries: libjli.so",
To: Andrew Shadura <and...@shadura.me>


hey , oracle jdk in my debian is not working.This is some details.I
have try many way to solve by google.But still vain.I am a beginner.

ls /usr/lib/jvm/
   default-java  java-1.7.0-openjdk-amd64  java-7-openjdk-amd64  jdk8

katcom@Bluish:~$ ls /usr/lib/jvm/jdk8
   bin        javafx-src.zip  man          THIRDPARTYLICENSEREADME-JAVAFX.txt
   COPYRIGHT  jre             README.html  THIRDPARTYLICENSEREADME.txt
   db         lib             release
   include    LICENSE         src.zip

sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
  0            /usr/lib/jvm/jdk8/bin/java                       1800
   auto mode
  1            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1071
   manual mode
* 2            /usr/lib/jvm/jdk8/bin/java                       1800
   manual mode

katcom@Bluish:~$ java
java: error while loading shared libraries: libjli.so: cannot open
shared object file: No such file or directory

This is my ~./bashrc
....
#java configure
export JAVA_HOME=/usr/lib/jvm/jdk8
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH

I have not modified the /etc/profile.

please help me.Otherwise i have to get back to windows : ).




2016-12-28 21:20 GMT+08:00 Andrew Shadura <and...@shadura.me>:
>
> Control: tags -1 moreinfo
>
> On 28 December 2016 at 02:14, Jason.katcom <katcom...@gmail.com> wrote:
> > Package: general
> > Severity: normal
> >
> > Dear Maintainer,
> >
> > *** Reporter, please consider answering these questions, where appropriate 
> > ***
> >
> >    * What led up to the situation?
> >    * What exactly did you do (or not do) that was effective (or
> >      ineffective)?
> >    * What was the outcome of this action?
> >    * What outcome did you expect instead?
> >
> > *** End of the template - remove these template lines ***
>
> Any more details please?
>
> --
> Cheers,
>   Andrew




-- 
Cheers,
  Andrew

Reply via email to