Java is a programming language originally developed by Sun Microsystems. Questions here should be about the installation, configuration and troubleshooting a JVM (Java Virtual Machine) or a JRE (Java Runtime Environment). Programming questions (unless directly related to Ubuntu) should be asked ...

learn more… | top users | synonyms

0
votes
0answers
7 views

Build hybris code on ubuntu

I receiving below error while building hybris code on ubuntu. earlier I was able to build same code on ubuntu machine but i have created newly machine i m not able to build code due to below error. ...
0
votes
0answers
8 views

Why Does Ubuntu Ship Down Level Java JRE

Even on Daily Builds of Ubuntu 16.04, Java incorporated on all builds is less than current GA Supported Version 8. Manual Installation of Java 8 requires a rather lengthy 175MB archive download. Why ...
0
votes
1answer
13 views

How to install sbt in its latest version in Ubuntu 14.04?

I am facing this Spark problem, after installing sbt like this. How to proceed please? When hitting tab to this: sudo apt-get install s I do not see any sbt package.
0
votes
0answers
17 views

Executing .sh file for Vassal engine returns “java: file not found”

I just installed Ubuntu, after having used Linux Mint for a year or two. I was hoping to install and use the Vassal strategy game engine (from vassal.org), which worked fine in Mint LMDE. However, ...
1
vote
1answer
26 views

Unable to launch Spark

I followed this answer. I am getting this error: spark-class: line 86: /usr/lib/jvm/java-8-oracle/bin/java: No such file or directory And to my surprise, I have: gsamaras@gsamaras:/usr/lib/jvm$ ...
0
votes
0answers
6 views

Can't import Eclipse project in Netbeans

When I'm trying to import an Eclipse project to Netbeans in Ubuntu it gives me the following error
0
votes
1answer
26 views

Installing java

When I am installing java I am getting this problem how can I resolve it? Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
1answer
16 views

How to make shell script restart Java if any thread crashes?

I have a multi threaded Java program. Ideally it should run once and successfully terminate. Unfortunately, sometimes one of the threads crashes, such as by throwing DivisionByZeroException. Since ...
0
votes
0answers
10 views

Oracle JAVA IDEs freeze

I experience a freeze since few months. I'm using Phpstorm and since june I has to downgrade java (oracle, phpstorm can't work with openJdk) jdk from 8 to 6 to avoid a freeze when the IDE is indexing ...
1
vote
1answer
18 views

Running LanguageTool

I am trying to run LanguageTool in the current version 3.2 with Ubuntu 15.10. What I get with java -jar /opt/LanguageTool-3.2/languagetool.jar is Exception in thread "main" ...
0
votes
2answers
30 views

How i can run java from terminal? [on hold]

I've copy the java from downloads folder to the bin folder and I've tried so many ways to set it. So can just type java in terminal. But it always not working. Please help me.
0
votes
0answers
15 views

HBase and Java_HOME

I have set JAVA_HOME. Nevertheless HBase doesn't recognize it. vagrant@precise32:/usr/local/hbase-1.0.3$ echo $JAVA_HOME /usr/lib/jvm/java-1.7.0-openjdk-i386 vagrant@precise32:/usr/local/hbase-1.0.3$ ...
-2
votes
2answers
16 views

Eclipse is not running in ubuntu 15.04 [on hold]

Currently i am trying to install eclipse in Ubuntu 15.04. I followed this link http://thelinuxfaq.com/471-how-to-install-eclipse-ide-on-ubuntu-linux-15-04-14-04 When i click on the icon, eclipse is ...
0
votes
0answers
19 views

Ubuntu 14.04 Juniper network-connect crashes right after starting

My juniper network-connect tool crashes just after launching. It used to work until last week and has suddenly stopped working (probably due to recent update). $ ...
0
votes
0answers
55 views

sudo apt-get install showing error

sudo apt-get install shows the following error: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not ...
-2
votes
0answers
15 views

Geany with java problem [on hold]

I tried to program in java gui in geany and everything seam good unit i got this error massage "method Container.setLayout(LayoutManager) is not applicable" and i notices that .set Layout with ...
0
votes
1answer
13 views

Why is this apt configuration necessary for installing Java on vagrant?

Here is my bootstrap.sh apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:webupd8team/java echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select ...
-1
votes
1answer
24 views

what are these outputs in terminal while installing/upgrading jdk

I've been installing jdk i have more than single problem 1.in 1st line when i try to set alternative of java it said java is already managed what does this mean 2.why i have to type java1, javac1. ...
0
votes
1answer
42 views

Ubuntu 15: after installing and configuring java, echo $JAVA_Home is working, Java -version is not working [duplicate]

I have installed the oracle Java 8 and configure it. cmd-> echo $JAVA_HOME /usr/lib/jvm/oracle_jdk8 cmd-> echo $PATH ...
0
votes
3answers
28 views

Java Process takes more memory and Machine stop working

I am new to Linux, I am using Ubuntu 14.04LTS, But suddenly my machine stop working.I run $ free -m and get results total used free shared buffers cached Mem: 7897 ...
0
votes
1answer
17 views

OpenJDK not running .jar files

I've downloaded the .jar file for Minecraft, and I installed OpenJDK 6 from the software center, and I tried with 7 as well, but it keeps throwing the message "The file ...
-1
votes
0answers
19 views

how to install JDK on ubuntu 14.04 lts [duplicate]

i know about the PPA method to install JDk. But i have downloaded the Java JDK from oracle website and i want to install it through terminal. suggest me some ways
0
votes
0answers
14 views

Problem with jar file resolution

Sorry for the poor explanation but i'll try and get my message across with photos. Whenever i try and open a jar file on my computer it open up minimized on the screen and i cant drag it out to the ...
0
votes
0answers
32 views

Java JVM keeps crashing on Ubuntu

I'm rookie in Linux world (almost 5 months) and i found it very useful OS. To begin with, i've installed Java 8 via webupd8team ppa: sudo add-apt-repository ppa:webupd8team/java sudo apt-get ...
0
votes
1answer
16 views

Eclipse showing an error while open

I installed eclipse in my Ubuntu pc yesterday. Then when I tried to open it, there appeared an error like this:
0
votes
0answers
13 views

Install openjdk-7-jre without prompt

During the install I have to hit [ENTER] in order for the install to proceed on the command: apt-get install openjdk-7-jre Is there a way to avoid this prompt?
0
votes
1answer
29 views

How to install JRE on ubuntu 15.10?

I have Java version 1.7.0_91 installed in my Ubuntu PC. I installed it using the command sudo apt-get install default-jdk so, I think only JDK is installed but not the JRE. So what can I do to ...
-1
votes
1answer
48 views

Java plugins for Chrome 45+? [closed]

I have been having trouble with Java in my Chrome dev build (48), and all the posts about Java for Chrome are old and potentially outdated. Is there any new developments for Java in Chrome now?
-1
votes
1answer
35 views

Unable to install jdk1.8.0_65 on Ubuntu 14.04

I've created the /usr/lib/java directory and moved the jdk directory in it. but while using the following commands, i'm not getting any output(not even an error): sudo update-alternatives --install ...
0
votes
0answers
25 views

Symlink not working

I am trying to link java plugin to Opera. I have tried all sorts of methods. These are Opera's instructions for after JRE's installation: So that Java will be discovered, type the following ...
0
votes
0answers
29 views

no decode delegate for this image format `JPEG @ error/constitute.c/ReadImage/501._100x100.png

I want to compare uploaded image from database and for that purpose i am using hash comparison and Imagemagick in my code i resize image and convert the type of image to png but when i create the ...
2
votes
5answers
505 views

Updating java version to 8 on ubuntu

I would like to update my java version (UPDATE, not install) on my ubuntu 12.04 computer. I currently have java 7.x, and I would like to update it to the newest version possible (8.0 at least) without ...
1
vote
0answers
40 views

Can't find JDK for Unity3d development

I'm developing on Unity3d 5.2 a game which should be build for an Android. I use Ubuntu 14.04. I used: sudo apt-get install openjdk-7-jdk to install java. Set $JAVA_HOME and $PATH variables in ...
0
votes
0answers
9 views

C-based server & Java client can't talk in Ubuntu 15 but work in Ubuntu 14

My friend is running a server he wrote in C that is listening on port 52525. He runs a Java client on the same machine that opens a connection to "localhost" and the same port and then tries to send ...
0
votes
0answers
13 views

Sudo, nohup and spewing detached processes

I have a jar file that I need to routinely kick start from the terminal, and needs to be run as root. I'd also like to leave that terminal open for use, so I'm using this bash script: $ cat ...
0
votes
1answer
17 views

Unable to launch Topcoder IcedTea Arena in ubuntu 14.04

I was able to start the arena last week. I had jdk version 7 in my system. Yesterday, I installed oracle java version 8 to install Android Studio. From then on, I am unable to launch topcoder arena. ...
1
vote
1answer
15 views

Jar print convert and print “$?” to 0

I have a clipscode which I want to insert in my database I wrote a Java prog for that and it is running fine in eclipse IDE if my clips code contains "$?" it preserved as it is in eclipse IDE. see the ...
0
votes
1answer
20 views

How to run two java applications running in different openjdk( say 7 and 8) at the same time in Ubuntu?

So the application DHIS2 runs only in Java-version-8, while many applications are still not compatible with newer Java Version. In such condition how can I run two different applications at same time? ...
0
votes
1answer
58 views

Trying to install Java JDK from their SE Downloads page. Don't know how to use tar.gz

So I am trying to install Java JDK in a more difficult manner I know. But I want to understand what I am doing. I have the tar.gz file downloaded from here. Now I used tar -xzf ...
0
votes
0answers
13 views

Multiple versions of Java on Ubuntu

My end goal is to run Diffkit http://www.diffkit.org on ubuntu 14. JRE 7 is not supported, so I am installing JRE 5. I followed the instructions in an existing answer Downgrade Java 1.7 to Java 1.5 ...
0
votes
0answers
15 views

Install OpenCV 3.0.0 on eclipse - Ubuntu 14.04 32bit

I am trying to install OpenCV 3.0.0 on eclipse. I followed this guide to build OpenCV and now I am trying to install it on eclipse using this guide. The problem is, there is no Java folder inside the ...
2
votes
3answers
37 views

$JAVA_HOME resets after every terminal login

I just installed openjdk-8-jdk. I already had openjdk-7-jdk installed. When I ran echo $JAVA_HOME, it printed /usr/lib/jvm/java-7-openjdk-amd64. So I tried changing the $JAVA_HOME variable but it ...
0
votes
0answers
25 views

How to handle Java and software installation

I am not a Java expert and I am trying to understand how java relates to different programs. After some program installations (latest versions) I think that the default java is changed and I ...
0
votes
1answer
11 views

Suitable Java Binary not found

I installed OMEGAT and while trying to run the application from terminal following error was displayed:Suitable Java Binary was not found. Where is java binary located and how am I suppose to ...
-2
votes
0answers
22 views

My pc not working properly 14.04

Every time my pc facing an internal error (Kernel oops). I have attached the photos below check it my android studio and java not working properly. Always outof memory error 8GB - Ram Intel - i7 ...
0
votes
0answers
17 views

There is no make file executable in the permissions tab in the file manager? [duplicate]

I am trying to run a jar file. I have installed JDK 7 and have set the jar file to run with JDK 7. I am trying to make the file executable. When I look in the permissions tab there is no box that says ...
0
votes
1answer
300 views

which java se to download for linux

1 . i went to oracle site but i don't understand which Java to choose ! Linux ARM 32 Hard Float ABI 77.71 MB jdk-8u71-linux-arm32-vfp-hflt.tar.gz Linux ARM 64 Hard Float ABI 74.65 MB ----- ...
0
votes
1answer
36 views

How to update to latest Java JRE 71? [duplicate]

I installed the java jre via my package manager and get this version: $ java -version java version "1.8.0_66" Java(TM) SE Runtime Environment (build 1.8.0_66-b17) Java HotSpot(TM) 64-Bit Server VM ...
0
votes
0answers
17 views

Java Installation error

Below error is comes when i install new software ............ this error comes because i deleted java folder directly ..... help me to remove this error Do you want to continue? [Y/n] y (Reading ...
0
votes
1answer
23 views

How to run a jnlp app on 15.10

I have trouble running a java app starting with java WebStart. I do have icedtea-netx installed (1.5.3-0ubuntu0.15.10.1), but when I try to run the app, I get the following error: +(CONNECTED ...