If i specify the whole path it works... Page 1 of 2 1 2 > Search this Thread 10-29-2009, 06:32 AM #1 f000l LQ Newbie Registered: Mar 2008 Location: Sweden Distribution: Slackware 13.0 Posts: 14 Rep: programmer Faq Reply With Quote February 10th, 2004,09:31 AM #4 kurious View Profile View Forum Posts Prom night: 1973 Devshed Beginner (1000 - 1499 posts) Can somebody help me? have a peek at this web-site
Even without messing with environment variables, when trying to run this: /usr/lib/jvm/java-1.8.0-openjdk-220.127.116.11-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 Environment. Thanks! 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-18.104.22.168-0.b17.el6_7.x86_64, with bin, lib, etc. or maybe there's just another dependency package I'm missing?
asked 12 months ago viewed 1505 times Related 1CentOS5, RHEL5, Java dependent Packages, Alternate JVM/JDK1I deleted /etc/alternatives/java1Java fails with “Could not find the main class”6Java doesn't show menu text1Error while loading Does Precursor Golem let me target all golems in the graveyard? Browse other questions tagged centos java or ask your own question. My system used the /bin/javac one.
Four Birds + One McClane is a NYPD cop. HTH. -- kjh kjhambrick View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kjhambrick 10-29-2009, 08:18 AM #8 f000l LQ Newbie Or run Code: . /etc/profile in a shell right before running "java" if a reboot is not convenient at the time. Why did Tarkin undertake this course of action at the end of Rogue One?
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 Do SSDs reduce the usefulness of Databases Theorems demoted back to conjectures Can もとい be used as a noun describing the correction or the fact of correction? Could Not Find Libjava.so Aix Theorems demoted back to conjectures How can I turn rolled oats into flour without a food processor? Error: Could Not Find Libjava.so Solaris Is it possible to see animals from space?
dpkg: error processing sun-java5-bin (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: sun-java5-bin E: Sub-process /usr/bin/dpkg returned an error code (1) ============= I do see http://gsbook.org/could-not/error-could-not-find-libjava-so-solaris.php I'm trying to run my .java file on terminal. Join Date Apr 2006 Location Timisoara, Romania Beans 132 DistroUbuntu 11.10 Oneiric Ocelot Re: Java error - "could not find Java 2 Runtime Environment" Hi. UNIX is a registered trademark of The Open Group. Error: Could Not Find Java 2 Runtime Environment
You are currently viewing LQ as a guest. I am stumped ... ??? ... Either delete it or if you don't use any commands or applications from /usr/local/bin, then remove /usr/local/bin from your PATH also post for me what this shows: Code: [[email protected] ~]$ ls Source and after deleting files: Code: [[email protected] ~]$ /usr/local/bin/java -version bash: /usr/local/bin/java: No such file or directory ---------- Post added at 06:50 AM ---------- Previous post was at 06:49 AM ---------- Code:
Having ton's of JDKs and JREs laying around is bad for administration: Quote: /home/NIH/Downloads/jdk1.7.0 /home/NIH/Java/Other/jre1.6.0_23 /home/NIH/jdk1.7.0 /usr/bin/jre1.6.0_23 /usr/lib/java-1.7.0 /usr/local/jdk1.7.0 /home/NIH/Downloads/jdk1.7.0 /home/NIH/Java/Other/jre1.6.0_23 /home/NIH/jdk1.7.0 /home/NIH/.local/share/Trash/files/jre1.6.0_23/lib/i386/libjava.so /usr/bin/jre1.6.0_23 /usr/local/jdk1.7.0 Last edited by marko; 13th January Ice9 Linux - General 0 02-15-2003 02:48 PM libjava.so not found! Recently, I have received the computer and wish to go back to programming in java.
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Could large but sparsely populated country control its borders? 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 Bogdan Adv Reply September 25th, 2009 #3 adun153 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date May 2009 Beans 11 Re: Java error - "could
What are those "sticks" on Jyn Erso's back? The time now is 05:41 AM. I can run "java" command from anywhere.(From any directory) I can run "appletviewver from anywhere. have a peek here 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
Now libjava.so is present in ~/jdk1.2.2/jre/lib/i386. If you'd like to contribute content, let us know.