Error Could Not Find Libjava.so Linux
Contents |
here for a quick overview of the site Help Center Detailed answers to any error: could not find java se runtime environment linux questions you might have Meta Discuss the workings and policies of
Error: Could Not Find Libjava.so Ubuntu
this site About Us Learn more about Stack Overflow the company Business Learn more about error: could not find java 2 runtime environment hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow
Error Could Not Find Libjava.so Solaris
is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error: could not find libjava.so, Error: could not find Java 2 Runtime Environment up vote 1 down vote favorite I uninstalled java j2sdk1.4.2_12 java on my Linux Server and Install jdk1.6.0_21, jdk but when I am trying to run any script I am getting following Error Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. I already set classPath and Path like : In vi ~/.bashrc export JAVA_HOME=/home/java/jdk1.6.0_21/ export PATH=$PATH:/home/java/jdk1.6.0_21/bin export set CLASSPATH=/usr/java/j2sdk1.4.2_12/lib/mysql-connector-java-5.1.6-bin.jar: /home/java/jdk1.6.0_21/jre/lib:/root/mis/mod:$CLASSPATH ulimit -c unlimited IN vi ~/.bash_profile JAVA_HOME=/home/java/jdk1.6.0_21/ PATH=$PATH:$HOME/bin:$HOME/mis/mod: PATH=/home/java/jdk1.6.0_21/bin:$PATH CLASSPATH=$CLASSPATH:/home/java/jdk1.6.0_21/lib:.: export JAVA_HOME export PATH export CLASSPATH unset USERNAME When I run following Commands which java /home/java/jdk1.6.0_21/bin/java java -version java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) Server VM (build 17.0-b16, mixed mode) I am not getting where is the issue. Can Any one help me ? java linux operating-system share|improve this question edited Dec 4 '14 at 10:39 prajmus 2,15931733 asked Sep 20 '14 at 23:46 Krishna Roy 83316 Same problem here but jdk1.8.0_20. –uprego Oct 1 '14 at 10:26 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote
Common F23 Bugs Common F24 Bugs Communicate with Fedora The Documents Bug Reports Fedora Update System (Bodhi) Fedora Build System (Koji) Official Spins FedoraForum.org > Fedora 23/24 > Using Fedora Need help with JDK installation, Libjava.so Cannot Be Found FedoraForum Search User Name Remember Me? Password Forgot Password? Join Us! Register All Albums FAQ Today's Posts Search Using Fedora General support for current versions. Ask questions about Fedora that do not belong in any other forum. Google™ Search FedoraForum Search Red Hat Bugzilla Search Search Forums Show Threads Show http://stackoverflow.com/questions/25954348/error-could-not-find-libjava-so-error-could-not-find-java-2-runtime-environme Posts Tag Search Advanced Search Go to Page... Thread Tools Search this Thread Display Modes #1 12th January 2013, 04:12 AM Alpvax Offline Registered User Join Date: Jan 2013 Location: England Posts: 4 Need help with JDK installation, Libjava.so Cannot Be Found A while back, openJDK was removed from this computer, which is running Fedora 15 64bit. Recently, I have received http://forums.fedoraforum.org/showthread.php?t=287422 the computer and wish to go back to programming in java. So I Installed Sun (Oracle) JDK 7. There were no errors with the installation, but it didn't work. That is to say the files are there, but it just threw errors when I tried to run it, specifically libjli.so cannot be found. Worse still, my JRE was no longer working, it threw the same error. I searched the internet, and installed and reinstalled JDK and openJDK, resulting in several installations of java, which may be part of the problem, but nothing worked. Eventually I used symbolic links to remove the error, which was then replaced by Code: Error: could not find libjava.so Error: Could not find Java SE Runtime Environment. Alas, symbolic links did nothing to change this error, and I have tried everything I have found on the internet, to no effect. Here are the results of some terminal tests: Code: [NIH@DAMSON Documents]$ java -- version Error: could not find libjava.so Error: Could not find Java SE Runtime Environment. [NIH@DAMSON Documents]$ sudo alternatives --config java [sudo] password for NIH: There is 5 program that provides 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jv
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media https://ubuntuforums.org/showthread.php?t=1272964 Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Java error - "could not find Java 2 Runtime Environment" Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks could not ! Results 1 to 6 of 6 Thread: Java error - "could not find Java 2 Runtime Environment" Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 23rd, 2009 #1 adun153 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2009 Beans 11 Java error - "could not find Java 2 Runtime Environment" I've been trying to run could not find a jar file with "java -jar