Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34124
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Nigel Wade <nmw@ion.le.ac.uk> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Java 1.8 and CentOS |
| Date | Wed, 13 Apr 2016 15:42:04 +0100 |
| Lines | 36 |
| Message-ID | <dn745sFpbh0U1@mid.individual.net> (permalink) |
| References | <neljen$psq$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net kQF03McbNfwuhx+kReUSlgSKwlDTcIX8TkZqXvFcfeOK5VIWMQ |
| Cancel-Lock | sha1:TSuM4U81Dpkcp/ImkSHvwYd6fog= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
| In-Reply-To | <neljen$psq$1@dont-email.me> |
| Xref | csiph.com comp.lang.java.programmer:34124 |
Show key headers only | View raw
On 13/04/16 15:04, Duncan Idaho wrote: > > JAVA_HOME=/opt/jdk1.8.0_77 > > invoking the script on Ubuntu starts the server > > invoking the script on CentOS results in the following error message > > Cannot find any VM in Java Home /opt/jdk1.8.0_77 > Cannot locate JVM library file What is actually in /opt/jdk1.8.0_77 on the CentOS system? > > [root@vps logs]# java -version > java version "1.8.0_77" > Java(TM) SE Runtime Environment (build 1.8.0_77-b03) > Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode) > > [root@vps logs]# echo $PATH > /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/lyallex/.local/bin:/home/lyallex/bin:/opt/jdk1.8.0_77/bin > > So the vm is there on the path. > But not necessarily in /opt/jdk1.8.0_77/bin. /opt/jdk1.8.0_77/bin is on the PATH, but not necessarily being used to locate java. Try: $ which java and follow the links to the actual executable.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Java 1.8 and CentOS Duncan Idaho <duncan@dunenoemail.com> - 2016-04-13 15:04 +0100
Re: Java 1.8 and CentOS Nigel Wade <nmw@ion.le.ac.uk> - 2016-04-13 15:42 +0100
Re: Java 1.8 and CentOS Duncan Idaho <duncan@dunenoemail.com> - 2016-04-13 17:33 +0100
Re: Java 1.8 and CentOS Andreas Leitgeb <avl@logic.at> - 2016-04-13 17:29 +0000
Re: Java 1.8 and CentOS Andreas Leitgeb <avl@logic.at> - 2016-04-13 18:14 +0000
Re: Java 1.8 and CentOS Duncan Idaho <duncan@dunenoemail.com> - 2016-04-14 05:18 +0100
Re: Java 1.8 and CentOS Andreas Leitgeb <avl@logic.at> - 2016-04-14 10:44 +0000
Re: Java 1.8 and CentOS Roedy Green <inquiry@mindprod.com> - 2016-07-17 11:56 -0700
csiph-web