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
17 views

Oracle JDK 8 is NOT installed

Recently I installed jdk1.8.0_51 on my Xubuntu OS, and now I need to install ant for pyhton-for-android package, but after running the following command : sudo apt-get install ant I get the ...
0
votes
1answer
14 views

Can't open Minecraft with Java 6 runtime

I've just updated my Ubuntu device to Ubuntu from 14.4.01 to 15.04 and have installed all thats needed to play Minecraft. But it won't work, please help.
2
votes
1answer
96 views

How do I update Java to 8u51 on Ubuntu 14.04?

I'm a casual Linux user and recently Firefox started sending me a bunch of vulnerability warnings (as in, even more than anything I had experienced before) regarding my current Java version (8u45), ...
1
vote
1answer
13 views

tomcat base directory for logging

Not sure if this should be on StackOverflow.. I followed this tutorial to install tomcat8 (with java8) on an ubuntu-12.04 instance. It uses the upstart script to install tomcat8 as as auto start ...
0
votes
0answers
34 views

java class missing error [on hold]

I realize there is a similar question out there, but the solution provided did not solve my problem. I have read through all the java class and classpath documentation, but can't figure out why i get ...
1
vote
0answers
13 views

Symantec Class 3 G4 intermediate certificate missing from ca-certificates/ca-certificates-java

I hope that you can help. I did a search and didn't find this exact issue. A vendor of ours recently updated their SSL certificate using a Symantec intermediate certificate. Our java process was no ...
0
votes
2answers
34 views

Ubuntu and Eclipse can not find the latest java version

I have an Ubuntu on VirtualBox and I just installed an Eclipse. When I tried to start Eclipse, Eclipse claimed "Version 1.6.0_35 of the JVM is not suitable for this product. Version: 1.7 or greater is ...
0
votes
0answers
11 views

How to publish java based freeware (non open sourced)

I have an Java application http://myencyclopedia.top/mydoc/ which is freeware but currently not open sourced. Could anyone tell me if I can push it to Ubuntu repository? I spent much time online ...
1
vote
2answers
24 views

dpkg broken by oracle-java8-installer

I want to remove the oracle-java8-installer but it gives the below errors. Perhaps good to mention that I messed a bit with apt, e.g. at some point I manually removed the apt cache (but the java ...
0
votes
0answers
35 views

Get java code to check AP isolation is enabled? [on hold]

I am building a chat application with java socket programming to communicate locally like IP messenger. When AP isolation is enabled i get only my IP and gateway.gateway. That's why i can't chat to ...
-2
votes
0answers
19 views

how to range numbers in netbeans [closed]

this is my code, i dont know how to range this from 10-9999. please help me to do this thanks in advance. this the question: create a program that will accept 3 inputs from the user. Inputs should ...
2
votes
3answers
22 views

How to remove all version of java completely from Linux system ?

I use Ubuntu 14.04 LTS, 64-bit. In attempt to run some 32-bit programs, I had to install java version 6. Java version 7 was already present. I used update-alteratives to switch between them. ...
0
votes
0answers
5 views

Netbeans is not connecting to my java programs [closed]

Netbeans is not connecting to my java files. jGrasp connects automatically to all files. What is the problem? All the programs were created on Windows Vista and the new computer is Windows 8.1.I have ...
0
votes
0answers
47 views

Running Java as another user

I have a directory called Minecraft for Minecraft servers. I've set it's owner and group with chown to minecraft:minecraft. This user and group exists. /etc/passwd contains ...
0
votes
1answer
20 views

Minecraft just started crashing

All right I'm going to make this stupid simple to understand since simple English is not any more. Minecraft just started to crash after some time of Ubuntu not being used. This is the error ...
2
votes
0answers
12 views

Use DEB for distribution of WAR?

I have created a Java EE program with a WAR-file as a result. To run this file I use the JBoss Wildfly 8 server. Now I have multiple Ubuntu systems where I want to install the Wildfly server and run ...
0
votes
1answer
39 views

Problems installing Java 8 on 12.04 LTS

ive taken these steps to try and install Java 8 on my 12.04 LTS server. http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html i had an error when running trying to intall the ...
0
votes
0answers
23 views

Installing apache-mahout with all prerequisites on ubuntu 14.04

For 2 days, I'm trying to install and run mahout on ubuntu 14.04. My purpose is to install it in my machine and run this example using eclipse. First of all let me explain what I have done so far. ...
1
vote
1answer
14 views

Unable to copy downloaded java from oracle web site to local?

I have downloaded java 1.8.0 to copy from downloads to /usr/local. And it does not get copied. What is the reason? as I m following this. And i am stuck at when it said "next, i copied this to local ...
4
votes
1answer
26 views

Switiching Java version per session

I have a combination of Java7 and Java8 installed on my 14.04 machine. When I want to switch between them I do a sudo update-alternatives --config java. However, changing it this way changes the ...
0
votes
0answers
5 views

A screen with transparent content - JVM bug or not?

I am not sure if this is Android Studio bug or something bad with my Java library. This also happens sometimes in Thunderbird and Firefox. I think in a few other Java apps, thou I cannot recall its ...
5
votes
3answers
426 views

How to download and install Oracle Java by a script?

The popular WebUpd8 Team PPA is not being updated. It has still obsolete versions like 8u45. I manually downloaded JDK from Oracle site and replaced it. Is there a way to automatically check Oracle ...
1
vote
1answer
50 views

Error while installing or updating anything

since i was trying to install java manually which i coulnt doing i have been having these errors while trying to install or update anything through terminal or update manager. (Reading database ... ...
1
vote
0answers
25 views

Java error when simulation software is closed

so I have been using Comsol on ubuntu 14.04 for a while now. Everytime I close the software, a java error shows up. I tried updating java, reinstalling it but to no avail. Any help or advice is much ...
-1
votes
1answer
12 views

Eclipse keeps crashing after launching AVD

When I start eclipse, everything is fine, but when I start AVD, eclipse crashes. Further Details: my first step was typing sudo -i in terminal.(if I don't type this, I can't cd to the location of ...
0
votes
2answers
27 views

java linux terminal -cp auto-complete

I'm working with a java library which needs two files 'library.jar' and 'library-extensions.jar'. Whenever I try to include both of them separated by a colon (e.g. -cp ...
1
vote
1answer
210 views

Permission denied when running sh file

I am trying to use an sh file to easily start a screen with my minecraft server console. I named this file mc.sh. I have another sh file in the same directory as mc.sh that runs fine. Here is what is ...
0
votes
1answer
43 views

openjdk-7-jre installed, but no binaries

I executed sudo apt-get update sudo apt-get install openjdk-7-jre and the package seems to have installed cleanly, but /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/ was empty except for the program ...
2
votes
1answer
59 views

Remove annoying environment variable JAVA_TOOL_OPTIONS

Each time I run java or javac on terminal I get this annoying message Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar I looked up very location I know to find out where ...
1
vote
1answer
18 views

Install two java versions

I have Eclipse installed on my Ubuntu with Java 1.7. I need to compile binary code for Java 1.4. How to install second Java 1.4 on my Ubuntu since 1.7 I need to run Eclipse.
0
votes
1answer
20 views

I have already downloaded Eclipse from the Software Center but how do I get ADT?

I went to the Software Center and installled Eclipse. However, I need the Android Developer Tools version. Is there any way I can get that without having to download the whole package (i.e. Eclipse + ...
0
votes
0answers
35 views

Sweet Home 3D 4.6, unable to make a launcher

First and for most Thank you KasiyA. Sweet Home 3D 4.6 Ubuntu 15. I have done everthing that KasiyA said to do in this post, but I changed it to 4.6 instead of 4.4, and it lunches in the Terminal, ...
1
vote
0answers
35 views

Java install failed and now keeps trying in terminal [duplicate]

So i tried to install Oracle Java through official installer, my Wifi router got reset and it caused the installation to fail. after that I installed Java using tarball file and it was a success ...
3
votes
0answers
20 views

Window Transparency with Java

I'm using a java application that relies heavily on window transparency it to work properly (windows apparently fade on top of each other to make them cross over each other). On Windows it works just ...
0
votes
0answers
121 views

Impossible to install java on ubuntu 15.04

I install oracle-java-8 in ubuntu 15.04 after removing all precedent java (look at How to completely uninstall Java?). With the commands: sudo apt-get update sudo apt-get install ...
1
vote
1answer
91 views

After installing Oracle Java 8 how can you update?

There is an oracle-jdk8-installer dir in /var/cache/ There is a /usr/lib/jvm/java-8-oracle dir How can I update to the latest plugins and jre stuff?
0
votes
1answer
23 views

Trouble increasing Java max heap size

I'm very new to Linux (and haven't done much with cmd line in Windows either), and I'm needing to increase my Java heap size to 3GB from 850MB (total of 4GB of RAM on the box). I've looked at a ...
2
votes
1answer
207 views

Firefox blocking outdated Java plugin

On ubuntu 14.04, Firefox (v30.0) is telling my Java plugin is outdated, and does not allow it to run. How can I fix this, either by updating java or removing this "security" check? $ java -version ...
0
votes
1answer
65 views

Best practices for installing Java on secure server running Ubuntu 14.04 LTS [closed]

I see there are a number of ways to install Java on Ubuntu... what I want to know is about which way is best for a server that is secure and running a Java web application. The three ways I know of ...
-1
votes
0answers
23 views

Java plug in crashes in Jenkins

I am new to Ubuntu and fairly new to test automation. There is a website I need to test which uses java. It works on my machine. I have Ubuntu 14.04 and I've installed jre1.8.45. But it does not ...
0
votes
1answer
68 views

Minecraft launcher keeps crashing on Ubuntu 15.04

I am new to Ubuntu. I heard about how powerful and great it is and decided to dual boot it with windows. I play Minecraft, so I got java and updated it from the terminal because Java is required for ...
0
votes
1answer
48 views

Apt-get is not installing jdk properly

Any time I try use apt-get install (I'm logged into the root account) It doesnt work properly this is what it comes up with (This is after trying to use it to install java jdk) Reading package ...
0
votes
0answers
12 views

Icewm Window manager does not show images

In ubuntu 14.04 On running Java Application that contains GUI. The icewm window manager shows only the background frame with grey color it does not display any picture. Pictures are in PNG format
1
vote
0answers
35 views

Minecraft in 15.04 Connection issues

So I don't know any better way to explain what the problem is other than showing you this. I am using 15.04. Ask me if you need any more information. EDIT: solved, apparently java was just messing ...
1
vote
0answers
7 views

Java not working on Ubuntu 15.04 [duplicate]

When i double click on a .jar file, it opens the archive manager. I have made it executable. I have tried getting Java 6,7 and 8 from the Software center. If i right click on the file and choose to ...
0
votes
2answers
36 views

How do I remove comments of files?

I have a dir with many files. I want to remove all the comments of that files. How do I do that? The files looks like this (everything what is between the /* and the */ are comment): /* */ ...
0
votes
1answer
112 views

Can not install java jdk 8

I've installed ubunut 15.04 recently and I've tried to install java JDK 8 but I can not, and I don't know why. I have fallow all that commands: sudo apt-get install python-software-properties sudo ...
0
votes
0answers
33 views

idea-ic IDE fails with “No Java JDK found” error, however my OS has Java installed and exported

I am facing an issue with Idea Intellij. I have Java installed and exported on my machine and it works fine for Pycharms. However, when I try to start Idea Intellij, it gives me Java not found error. ...
1
vote
1answer
79 views

Arduino Serial Port COM1 Problem

I bought an Arduino Uno and installed Arduino IDE 1.6.5 But when i want to upload a skecht to Arduino board i take this error: avrdude: ser_open(): can't open device "COM1": No such file or directory ...
0
votes
1answer
33 views

java installation pending task Ubuntu 15.04 [duplicate]

I am using Ubuntu 15.04 8u45-linux-x64.rpm and converting it to .deb using alien, then I am installing it using gdebi package installer. now when I run a apt-get command I get this error E: The ...