“JRE Libraries are missing or not compatible” error message
When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed on my machine. I tried the install with each of them as default, successively ( I did set the JAVA_HOME environment to the appropriate path each time). Every time I got the the same output and error message.
It looks that the JRE is packaged in the installer, which would mean that there is something wrong with the libraries in the packaged JRE. Then there wouldn't be much I could do about it. Does that make sense?
software-installation java openjdk jre binary
add a comment |
When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed on my machine. I tried the install with each of them as default, successively ( I did set the JAVA_HOME environment to the appropriate path each time). Every time I got the the same output and error message.
It looks that the JRE is packaged in the installer, which would mean that there is something wrong with the libraries in the packaged JRE. Then there wouldn't be much I could do about it. Does that make sense?
software-installation java openjdk jre binary
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
I found that installing these packages resolved this error for me:libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh
– pztrick
Mar 15 '18 at 21:30
add a comment |
When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed on my machine. I tried the install with each of them as default, successively ( I did set the JAVA_HOME environment to the appropriate path each time). Every time I got the the same output and error message.
It looks that the JRE is packaged in the installer, which would mean that there is something wrong with the libraries in the packaged JRE. Then there wouldn't be much I could do about it. Does that make sense?
software-installation java openjdk jre binary
When trying to install SPSS (a statistical analysis package) using sudo ./SPSS_23.0_LNX.bin I get the following:
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed on my machine. I tried the install with each of them as default, successively ( I did set the JAVA_HOME environment to the appropriate path each time). Every time I got the the same output and error message.
It looks that the JRE is packaged in the installer, which would mean that there is something wrong with the libraries in the packaged JRE. Then there wouldn't be much I could do about it. Does that make sense?
software-installation java openjdk jre binary
software-installation java openjdk jre binary
edited Jun 23 '18 at 9:26
David Foerster
28.4k1366111
28.4k1366111
asked Jan 21 '17 at 0:25
sapinsapin
11113
11113
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
I found that installing these packages resolved this error for me:libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh
– pztrick
Mar 15 '18 at 21:30
add a comment |
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
I found that installing these packages resolved this error for me:libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh
– pztrick
Mar 15 '18 at 21:30
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
I found that installing these packages resolved this error for me:
libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh– pztrick
Mar 15 '18 at 21:30
I found that installing these packages resolved this error for me:
libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh– pztrick
Mar 15 '18 at 21:30
add a comment |
3 Answers
3
active
oldest
votes
With Java based applications which do not come as a package from the software channels in Ubuntu, you will most likely have to define JAVA_HOME dir, because those apps will not know about the "default" java deb package.
For example on the command line :
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
The SPSS seems to be software made by IBM.
With the command :
ldd -v ./SPSS_23.0_LNX.bin
you should be able to see which libraries it wants to use.
Perhaps it wants to use IBM Java.
IBM Java
add a comment |
I found this solution and it works.
If you want the short version, just add this to the line after you type your installer. For me, I was installing a .bin package. I was using the line:
sudo ./INSTALLER.bin
Try this:
sudo ./INSTALLER.bin LAX_VM path_to_java_on_your_machine
So, for me, the entire command was:
sudo ./LiberoSoC_v11.8Linux.bin LAX_VM /usr/lib/jvm/java-8-oracle/jre/bin/java
I needed the sudo so the actual installer could write to /usr/local once it started.
To see what is going on with the LAX tool, set the environment variable LAX_DEBUG with
export LAX_DEBUG=true
Now you can see that the Lax_vm is trying to use the locally installed jre in /tmp, but for some reason that won't work on all linux platforms. By telling it you use the one installed on your system, you should at least get the installer to start. After that, you are on your own.
add a comment |
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed...I did set the JAVA_HOME environment to the appropriate path each time
This happens when you're using a package that includes a bundled JRE and that JRE isn't compatible with your OS. A typical case is that the JRE was built on a 32-bit OS and you're running on a 64-bit-only host, with no 32-bit backwards compatibility. Another typical case is that the package was built for a different flavor of Linux and its paths to critical libraries like glibc differs from that on your flavor of Linux.
The simplest fix I found is to move that incompatible JRE out of the way so that your JAVA_HOME setting becomes effective:
$ export JAVA_HOME=/usr/lib/jre/java-1.8.0
$ mv bin broken-jvm
$ ./program-launcher
I'm writing the above generically because this solution isn't specific to SPSS. I discovered the above solution using a different Java-based software package that was giving the same symptom as the one posted here.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f874350%2fjre-libraries-are-missing-or-not-compatible-error-message%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
With Java based applications which do not come as a package from the software channels in Ubuntu, you will most likely have to define JAVA_HOME dir, because those apps will not know about the "default" java deb package.
For example on the command line :
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
The SPSS seems to be software made by IBM.
With the command :
ldd -v ./SPSS_23.0_LNX.bin
you should be able to see which libraries it wants to use.
Perhaps it wants to use IBM Java.
IBM Java
add a comment |
With Java based applications which do not come as a package from the software channels in Ubuntu, you will most likely have to define JAVA_HOME dir, because those apps will not know about the "default" java deb package.
For example on the command line :
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
The SPSS seems to be software made by IBM.
With the command :
ldd -v ./SPSS_23.0_LNX.bin
you should be able to see which libraries it wants to use.
Perhaps it wants to use IBM Java.
IBM Java
add a comment |
With Java based applications which do not come as a package from the software channels in Ubuntu, you will most likely have to define JAVA_HOME dir, because those apps will not know about the "default" java deb package.
For example on the command line :
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
The SPSS seems to be software made by IBM.
With the command :
ldd -v ./SPSS_23.0_LNX.bin
you should be able to see which libraries it wants to use.
Perhaps it wants to use IBM Java.
IBM Java
With Java based applications which do not come as a package from the software channels in Ubuntu, you will most likely have to define JAVA_HOME dir, because those apps will not know about the "default" java deb package.
For example on the command line :
export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64"
The SPSS seems to be software made by IBM.
With the command :
ldd -v ./SPSS_23.0_LNX.bin
you should be able to see which libraries it wants to use.
Perhaps it wants to use IBM Java.
IBM Java
edited Jan 21 '17 at 4:55
d a i s y
3,35882444
3,35882444
answered Jan 21 '17 at 4:37
albert jalbert j
1,168310
1,168310
add a comment |
add a comment |
I found this solution and it works.
If you want the short version, just add this to the line after you type your installer. For me, I was installing a .bin package. I was using the line:
sudo ./INSTALLER.bin
Try this:
sudo ./INSTALLER.bin LAX_VM path_to_java_on_your_machine
So, for me, the entire command was:
sudo ./LiberoSoC_v11.8Linux.bin LAX_VM /usr/lib/jvm/java-8-oracle/jre/bin/java
I needed the sudo so the actual installer could write to /usr/local once it started.
To see what is going on with the LAX tool, set the environment variable LAX_DEBUG with
export LAX_DEBUG=true
Now you can see that the Lax_vm is trying to use the locally installed jre in /tmp, but for some reason that won't work on all linux platforms. By telling it you use the one installed on your system, you should at least get the installer to start. After that, you are on your own.
add a comment |
I found this solution and it works.
If you want the short version, just add this to the line after you type your installer. For me, I was installing a .bin package. I was using the line:
sudo ./INSTALLER.bin
Try this:
sudo ./INSTALLER.bin LAX_VM path_to_java_on_your_machine
So, for me, the entire command was:
sudo ./LiberoSoC_v11.8Linux.bin LAX_VM /usr/lib/jvm/java-8-oracle/jre/bin/java
I needed the sudo so the actual installer could write to /usr/local once it started.
To see what is going on with the LAX tool, set the environment variable LAX_DEBUG with
export LAX_DEBUG=true
Now you can see that the Lax_vm is trying to use the locally installed jre in /tmp, but for some reason that won't work on all linux platforms. By telling it you use the one installed on your system, you should at least get the installer to start. After that, you are on your own.
add a comment |
I found this solution and it works.
If you want the short version, just add this to the line after you type your installer. For me, I was installing a .bin package. I was using the line:
sudo ./INSTALLER.bin
Try this:
sudo ./INSTALLER.bin LAX_VM path_to_java_on_your_machine
So, for me, the entire command was:
sudo ./LiberoSoC_v11.8Linux.bin LAX_VM /usr/lib/jvm/java-8-oracle/jre/bin/java
I needed the sudo so the actual installer could write to /usr/local once it started.
To see what is going on with the LAX tool, set the environment variable LAX_DEBUG with
export LAX_DEBUG=true
Now you can see that the Lax_vm is trying to use the locally installed jre in /tmp, but for some reason that won't work on all linux platforms. By telling it you use the one installed on your system, you should at least get the installer to start. After that, you are on your own.
I found this solution and it works.
If you want the short version, just add this to the line after you type your installer. For me, I was installing a .bin package. I was using the line:
sudo ./INSTALLER.bin
Try this:
sudo ./INSTALLER.bin LAX_VM path_to_java_on_your_machine
So, for me, the entire command was:
sudo ./LiberoSoC_v11.8Linux.bin LAX_VM /usr/lib/jvm/java-8-oracle/jre/bin/java
I needed the sudo so the actual installer could write to /usr/local once it started.
To see what is going on with the LAX tool, set the environment variable LAX_DEBUG with
export LAX_DEBUG=true
Now you can see that the Lax_vm is trying to use the locally installed jre in /tmp, but for some reason that won't work on all linux platforms. By telling it you use the one installed on your system, you should at least get the installer to start. After that, you are on your own.
edited Aug 11 '17 at 8:02
jiipeezz
8161613
8161613
answered Aug 11 '17 at 3:57
Ed BalchickEd Balchick
111
111
add a comment |
add a comment |
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed...I did set the JAVA_HOME environment to the appropriate path each time
This happens when you're using a package that includes a bundled JRE and that JRE isn't compatible with your OS. A typical case is that the JRE was built on a 32-bit OS and you're running on a 64-bit-only host, with no 32-bit backwards compatibility. Another typical case is that the package was built for a different flavor of Linux and its paths to critical libraries like glibc differs from that on your flavor of Linux.
The simplest fix I found is to move that incompatible JRE out of the way so that your JAVA_HOME setting becomes effective:
$ export JAVA_HOME=/usr/lib/jre/java-1.8.0
$ mv bin broken-jvm
$ ./program-launcher
I'm writing the above generically because this solution isn't specific to SPSS. I discovered the above solution using a different Java-based software package that was giving the same symptom as the one posted here.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed...I did set the JAVA_HOME environment to the appropriate path each time
This happens when you're using a package that includes a bundled JRE and that JRE isn't compatible with your OS. A typical case is that the JRE was built on a 32-bit OS and you're running on a 64-bit-only host, with no 32-bit backwards compatibility. Another typical case is that the package was built for a different flavor of Linux and its paths to critical libraries like glibc differs from that on your flavor of Linux.
The simplest fix I found is to move that incompatible JRE out of the way so that your JAVA_HOME setting becomes effective:
$ export JAVA_HOME=/usr/lib/jre/java-1.8.0
$ mv bin broken-jvm
$ ./program-launcher
I'm writing the above generically because this solution isn't specific to SPSS. I discovered the above solution using a different Java-based software package that was giving the same symptom as the one posted here.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed...I did set the JAVA_HOME environment to the appropriate path each time
This happens when you're using a package that includes a bundled JRE and that JRE isn't compatible with your OS. A typical case is that the JRE was built on a 32-bit OS and you're running on a 64-bit-only host, with no 32-bit backwards compatibility. Another typical case is that the package was built for a different flavor of Linux and its paths to critical libraries like glibc differs from that on your flavor of Linux.
The simplest fix I found is to move that incompatible JRE out of the way so that your JAVA_HOME setting becomes effective:
$ export JAVA_HOME=/usr/lib/jre/java-1.8.0
$ mv bin broken-jvm
$ ./program-launcher
I'm writing the above generically because this solution isn't specific to SPSS. I discovered the above solution using a different Java-based software package that was giving the same symptom as the one posted here.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
OpenJDK 6, OpenJDK 7, Oracle Java 7, and Oracle Java 8 are all installed...I did set the JAVA_HOME environment to the appropriate path each time
This happens when you're using a package that includes a bundled JRE and that JRE isn't compatible with your OS. A typical case is that the JRE was built on a 32-bit OS and you're running on a 64-bit-only host, with no 32-bit backwards compatibility. Another typical case is that the package was built for a different flavor of Linux and its paths to critical libraries like glibc differs from that on your flavor of Linux.
The simplest fix I found is to move that incompatible JRE out of the way so that your JAVA_HOME setting becomes effective:
$ export JAVA_HOME=/usr/lib/jre/java-1.8.0
$ mv bin broken-jvm
$ ./program-launcher
I'm writing the above generically because this solution isn't specific to SPSS. I discovered the above solution using a different Java-based software package that was giving the same symptom as the one posted here.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 1 min ago
Warren YoungWarren Young
1012
1012
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Warren Young is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f874350%2fjre-libraries-are-missing-or-not-compatible-error-message%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What software? How have you installed Java?
– user589808
Jan 21 '17 at 0:31
Yes, I've tried the version of Java I mentioned above.
– sapin
Jan 21 '17 at 0:42
I found that installing these packages resolved this error for me:
libmotif-dev lib32z1 libc6-i386 rpcbind xfonts-100dpi xfonts-75dpi ksh– pztrick
Mar 15 '18 at 21:30