Install and run Java app on Ubuntu 14.04 issue
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I want to run just Selenium Standalone Server on Ubuntu 14.04.
I had the same issue withopenjdk-8-jdk installation, but this topic solved it.
Now I have another problem, I can't just run the Java app.
~/workspace/php-web-driver-test $ java -jar selenium-server-standalone-3.12.0.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
14.04 software-installation java jdk openjdk
add a comment |Â
up vote
0
down vote
favorite
I want to run just Selenium Standalone Server on Ubuntu 14.04.
I had the same issue withopenjdk-8-jdk installation, but this topic solved it.
Now I have another problem, I can't just run the Java app.
~/workspace/php-web-driver-test $ java -jar selenium-server-standalone-3.12.0.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
14.04 software-installation java jdk openjdk
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to run just Selenium Standalone Server on Ubuntu 14.04.
I had the same issue withopenjdk-8-jdk installation, but this topic solved it.
Now I have another problem, I can't just run the Java app.
~/workspace/php-web-driver-test $ java -jar selenium-server-standalone-3.12.0.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
14.04 software-installation java jdk openjdk
I want to run just Selenium Standalone Server on Ubuntu 14.04.
I had the same issue withopenjdk-8-jdk installation, but this topic solved it.
Now I have another problem, I can't just run the Java app.
~/workspace/php-web-driver-test $ java -jar selenium-server-standalone-3.12.0.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/openqa/grid/selenium/GridLauncherV3 : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
14.04 software-installation java jdk openjdk
edited May 15 at 11:04
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.8k11106127
49.8k11106127
asked May 15 at 10:39
mr.boris
1436
1436
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Sometimes openjdk doesn't work but oracle java does. Try installing it with:
sudo add-apt-repository ppa:webupd8team/java
and then run
sudo apt update&&sudo apt install oracle-java8-installer
If this doesn't work then the software might not be compatible and you might want to try different versions or other software
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Sometimes openjdk doesn't work but oracle java does. Try installing it with:
sudo add-apt-repository ppa:webupd8team/java
and then run
sudo apt update&&sudo apt install oracle-java8-installer
If this doesn't work then the software might not be compatible and you might want to try different versions or other software
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
add a comment |Â
up vote
1
down vote
accepted
Sometimes openjdk doesn't work but oracle java does. Try installing it with:
sudo add-apt-repository ppa:webupd8team/java
and then run
sudo apt update&&sudo apt install oracle-java8-installer
If this doesn't work then the software might not be compatible and you might want to try different versions or other software
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Sometimes openjdk doesn't work but oracle java does. Try installing it with:
sudo add-apt-repository ppa:webupd8team/java
and then run
sudo apt update&&sudo apt install oracle-java8-installer
If this doesn't work then the software might not be compatible and you might want to try different versions or other software
Sometimes openjdk doesn't work but oracle java does. Try installing it with:
sudo add-apt-repository ppa:webupd8team/java
and then run
sudo apt update&&sudo apt install oracle-java8-installer
If this doesn't work then the software might not be compatible and you might want to try different versions or other software
answered May 15 at 11:16
Bitblocks
263
263
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
add a comment |Â
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
1
1
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
Does ppa:webupd8team/java still work for installing oracle-java8-installer? According to several recent questions ppa:webupd8team/java does not work anymore for installing oracle-java8-installer because the link to the official Oracle website in oracle-java8-installer is broken and the software hasn't been updated. If you tested the command in your answer and it works I would like to know it, because if oracle-java8-installer has been updated, then one of my answers needs to be updated too.
â karel
May 15 at 11:21
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
@Bitblocks Thanks, now it's working. Same description as in answer.
â mr.boris
May 15 at 13:00
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
Your welcome. I don't know much about java but I knew from research that openjdk doesn't work as well as Oracle Java. Glad I could help! :)
â Bitblocks
May 15 at 13:59
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036475%2finstall-and-run-java-app-on-ubuntu-14-04-issue%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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