Error Could Not Find Libjava.so Aix
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of error: could not find java se runtime environment linux this site About Us Learn more about Stack Overflow the company Business error: could not find libjava.so ubuntu Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask error could not find libjava.so solaris Question x Dismiss Join the Stack Overflow Community Stack Overflow 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 java 2 runtime environment 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, 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
Jdk
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 I encounter this issue before. It turns out there are 2 javac program sitting on my machine. They are in /usr/bin/javac and /bin/javac. My system used the /bin/javac one. The right path for me is /usr/bin/javac. Removing /bin/javac helped share|improve this answer answered Jan 9 '15 at 1:03 user2829759 773615 add a comment| Your Answer draft saved draft discarded Sign up or log
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Could not find libjava.so up vote http://stackoverflow.com/questions/25954348/error-could-not-find-libjava-so-error-could-not-find-java-2-runtime-environme 2 down vote favorite So I'm trying to install and run the jdk/jre on linux to run app project compilation/signing/etc. actions from the command-line. To install, I used the following command: yum install java-1.8.0-openjdk-devel.x86_64 This installs java to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-0.b17.el6_7.x86_64, with bin, lib, etc. being in the immediate directory. Even without messing with environment variables, when trying to run this: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-0.b17.el6_7.x86_64/bin/java -version I get the following errors: Error: could not find libjava.so Error: Could not find Java SE Runtime http://unix.stackexchange.com/questions/251747/could-not-find-libjava-so Environment. I'm not actually finding libjava.so in any of the lib directories either. Seems kind of silly that it wouldn't be included with the package.. or maybe there's just another dependency package I'm missing? Any insight here would be very appreciated. centos java share|improve this question edited Dec 27 '15 at 10:01 Archemar 11.8k71848 asked Dec 27 '15 at 8:55 Branden 112 What is your distribution? Have you tried to run java -version? I use Mint and there java is installed in such a way that everything is found through the 'normal' environment variables. –Marco Dec 27 '15 at 9:03 I actually get '-bash: java: command not found' when trying to run java directly. I'm using CentOS 6. –Branden Dec 27 '15 at 9:39 @Branden : why install devel package? install JDk/JRE with this toturial digitalocean.com/community/tutorials/… and run java –Babyy Dec 27 '15 at 10:23 add a comment| active oldest votes Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook. Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Browse other questions tagged centos java o
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 https://ubuntuforums.org/showthread.php?t=1272964 Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity http://www.java-forums.org/java-applets/47799-jarsiner-error-error-could-not-find-libjava-so.html 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 could not an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! 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 could not find 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 a jar file with "java -jar
1 to 3 of 3 Thread: jarsiner Error (Error: could not find libjava.so) LinkBack LinkBack URL About LinkBacks Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 08-19-2011,11:40 AM #1 haythame78 Member Join Date Aug 2011 Posts 2 Rep Power 0 jarsiner Error (Error: could not find libjava.so) Hi All i am new to JAVA so bear with me I have been trying to solve this problem all day yesterday but with no luck , so your help is greatly appreciated the JAVA APPLET certificate is due to expire on our webserver, we bought the certificate and applied it fine until the last step in which we need to sign the JAR file with the new certificate using the Jarsigner when typing the following command $sudo jarsigner jarfile keystoreAlias i get the following error Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. for some reason the jarsigner can not find the the JRE, or that is what i think. However, i am not sure how to solve this problem i tried setting up the environment but with no luck, can you pelase help below are my system info: REDHAT 5.5 Linux 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux java version "1.4.0_02" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_02-b02) Java HotSpot(TM) Client VM (build 1.4.0_02-b02, mixed mode) $ which java /usr/java/j2sdk1.4.0_02/bin/java $ which javac /usr/java/j2sdk1.4.0_02/bin/javac The /home/