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
1answer
46 views

one JVM only — how?

I had to install the Oracle JDK to get Netbeans to launch (forgot about umake). Now that I have the official JVM, I want to remove each and every other JVM -- all the OpenJDK stuff, including IcedTea,...
0
votes
2answers
62 views

TDAmerica trading platform won't install after updates to Oracle 8. Help!

I support my father who is 900 miles away. Since it became unrealistic to clean his windows machine of numerous spyware and sales toolbars, I gave him 14.4 LTS. All has been wonderful. Calls are now ...
0
votes
2answers
361 views

Cordova failed to run Java -version

When I run in the terminal Java -version, the output is: java version "1.7.0_95" OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.04.1) OpenJDK Server VM (build 24.95-b01, mixed ...
0
votes
0answers
41 views

Executable jar - working directory

I am using Ubuntu 14.04. I have executable jar file. Checked Allow executing file as a program option, so I can open it with double click. But then it seems, that program takes my home folder as it's ...
1
vote
1answer
45 views

Broken JRE installation, any advice how to fix?

It's a long bogus saga to explain how I got here, but I've got a bad partial install of JRE 1.8.0-71 on my Ubuntu machine, and --force-remove-reinstreq isn't working: # sudo dpkg --remove --force-...
1
vote
0answers
61 views

Minecraft hangs itself when launching

When I start minecraft, I get the following: marc@marc-desktop:~$ java -jar '/home/marc/Schreibtisch/Minecraft.jar' Bootstrap (v5) Current time is Feb 19, 2016 8:42:21 PM System.getProperty('os.name'...
0
votes
1answer
36 views

problem with opneing omni.ja file

How to open a .ja file. Do I need any app for it? e.g : /usr/lib/thunderbird/omni.ja . its a thunderbird archive file and archive manager shows an "archive type not supported" error.
0
votes
1answer
195 views

Installing 32 bit App Inventor 2 on 64 bit Lubuntu 15.10

I have installed App Inventor 2 using a Debian package and these instructions. The software is 32 bit and my computer is 64. Apparently also needed Oracle JRE for App Inventor and finally got it to ...
0
votes
0answers
8 views

Oracle Java not found [duplicate]

I have installed Oracle Java 8 (64 bit) in /usr/local/java, but it is not found when I do java -version in the terminal. Am using Lubuntu 15.10. whereis java gives the following output: java: /usr/...
0
votes
0answers
36 views

disable all netbeans modules?

How do I disable all Netbeans modules? thufir@mordor:~$ thufir@mordor:~$ netbeans --list OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0 ^C thufir@mordor:~$...
0
votes
1answer
76 views

Installing a java application on Ubuntu/Linux

I find "a lot of" howto install Java on Ubuntu/Linux but little on the "recommended way" to install a java application for an end-user. I understand how to run a Java application from the command ...
-2
votes
2answers
51 views

how can i convert a .jar to ubuntu-freindly code? [duplicate]

i am trying to figure out how to convert a .jar minecraft file into Ubuntu-friendly. the problem is, that Ubuntu does not recognize java.
0
votes
1answer
145 views

Enable Jayatana for Android Studio using commandline in Ubuntu 15.10

In Ubuntu 15.10 Jayatana is disabled by default. There are several ways to enable it. And I would like enable Jayatana only for Android Studio, using command line. So I write in bash ...
0
votes
2answers
50 views

Minecraft Launcher invisible; preview works, alt-tab/alt-space doesn't

This may be a problem with java applications in general. Problem began at some point after a restart, subsequent restarts have not fixed it, nor has uninstalling/reinstalling java (openJDK-7) and the ...
0
votes
0answers
47 views

Maximum socket connection

I installed tomcat7 on Ubuntu server and I deployed my atmosphere (http://async-io.org/) application. By running the sample, I noticed that my server stops receiving incoming socket connection after ...
0
votes
1answer
79 views

Why does Skype obsolete so many Java packages and how can I have both?

$ apt install skype Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ...
3
votes
1answer
360 views

./run.sh: line 1: java: command not found

I'm trying to install worksnaps client so I can start working on a project. I'm running Ubuntu 14.04 LTS 32bit system. Installation and Configuration for worksnaps are simple : Download the ...
0
votes
0answers
93 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
20 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
168 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
65 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
280 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
32 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
103 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
93 views

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

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 ...
1
vote
0answers
44 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
82 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" java.lang....
0
votes
2answers
56 views

How i can run java from terminal? [closed]

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
125 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$ ...
0
votes
0answers
73 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). $ /usr/lib/jvm/java-7-openjdk-i386/...
0
votes
0answers
131 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 ...
0
votes
1answer
32 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
63 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
92 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 /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/...
0
votes
3answers
52 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
65 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 '/home/hunter/Downloads/...
0
votes
0answers
55 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
97 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
30 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
1answer
49 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
352 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
102 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
156 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
62 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
165 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
6k 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
212 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
14 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
86 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 /usr/...
0
votes
2answers
65 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. ...