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

How to set PidFile for systemd from forking java application

I'm using a debian and a ubuntu machine that is using systemd. I would like to set up a forking systemd service for a java application (an OSGi container). Normally I use a script where I call the ...
1
vote
0answers
47 views

Downgrade java from 1.7.0_91 to 1.7.0_79 on ubuntu

my ubuntu machine contains java 1.7.0_91. how to install java 1.7.0_79. how to Downgrade java from 1.7.0_91 to 1.7.0_79 on ubuntu java -version output: java version "1.7.0_91" OpenJDK Runtime ...
0
votes
1answer
20 views

crontab java process information

I try to get a bash script running that should output the java process information to a file. Unfortunately when I add it to the crontab -e the script is not executed. As user root the script is ...
0
votes
1answer
31 views

Minecraft Won't Boot

I installed Java 8 from the java.com, and I got Minecraft from minecraft.net. But Java will not boot the game! I have clicked on the "run as a program" button and it stays checked, but it never does ...
0
votes
0answers
23 views

unmet dependencies while installing java

I have the following error while trying to install java in my ubuntu-14.04. Can someone help me to resolve this problem ? Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
28 views

ubuntu tomcat7 Java RESTFUL Web services

I am having a configuration issue, and I can't figure out what is wrong. From Amazon (AWS), I created a virtual server on their free tier using the standard ubuntu image. This is running ubuntu ...
0
votes
0answers
16 views

Why does Ubuntu not want to remove old Java versions?

I finally got my 14.04 system up to date with Java and JDK 8 - as you can see in the screenshot, I still have JDK7 though. When I go to uninstall it, it says it will uninstall freemind and other ...
1
vote
1answer
133 views

Need help “sudo: add-apt-repository: command not found”

There are lots of "add-apt-repository" posts out there, but I think I have seen and tried the solutions in most of them. I am trying to install Java on Ubuntu Server 12.04. Some searching lead to the ...
0
votes
0answers
34 views

I am trying to install . exe file with wine and getting error “unable to find JRE 1.5.0 or later version in your system”

in the errors.log it says this : "Sat Jan 16 21:08:16 2016 Unable to find JRE 1.5.0 or a later version on your system. Sat Jan 16 21:08:16 2016 Please install the JVM and re-start this installer." i ...
0
votes
0answers
19 views

Android Studio 1.5 on ubuntu 14.10 AVM manager; Can't select “next” on System Image screen

I installed Android Studio from ppa:paolorotolo/android-studio without any noticeable trouble. After downloading java from ppa:webupd8team/java and helping Gradle to find it, I started on my first ...
0
votes
1answer
23 views

PHPStorm not launching

Here is a very strange situation...I installed the PHPStorm and if i use the terminal and type: /opt/phpstorm/bin/phpstorm.sh The IDE open and works normally. I tried to launch the PHPStorm on the ...
1
vote
0answers
10 views

Uninstalling Java JDK causing unable to locate package?

I'm very new to using the terminal, and I recently installed openJava JDK for use in Android Studio. Upon setting up the studio it said that I should uninstall openJava JDK and instead install Oracle ...
0
votes
0answers
48 views

Minecraft launcher won't open

I have a problem with my minecraft launcher. I go and start up the launcher, then everything seems to be working right, but stays on the loading screen. This is what is says: enter image description ...
0
votes
0answers
10 views

JfreeChart not giving exception after migrating from Ubuntu Desktop 10.04 LTS to Ubuntu Server 14.04 LTS

I've migrated from ubuntu v10.04 LTS (desktop edition) to Ubuntu v14.04 LTS (server edition). While running my java utility it creates charts using jFreeChart. The display driver used for the ubuntu ...
0
votes
0answers
33 views

unable to resolve host address ‘\\’ when trying to install Java from PPA

I'm trying to install Oracle Java 8 from PPA on an Ubuntu 14.04 system, following the instructions at http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html. Everything goes fine ...
1
vote
3answers
99 views

Oracle jdk in Ubuntu

I removed openjdk-7 completely using apt-get purge and installed oracle jdk(8u45).I have the oracle jdk in path and it is working well .The Problem is that, if I try to install any software(from ...
0
votes
0answers
46 views

How do i use “Can YOU Run it”

I have used ubuntu for quiet some time now, but im having issues with this program i want to use. I recently build a new computer, and wanted to use ubuntu (because its great), the problem is, i want ...
1
vote
0answers
19 views

Force file creation time for all files transferred to a directory

Is there a way in Linux to change the creation/last access time/last modified time by default, whenever new files are transferred or copied. Currently, I need to poll a directory for files and ...
-1
votes
1answer
17 views

Interrupted apt-get starting whenever I do anything with apt-get

Some time ago I followed those instructions, because I wanted Java 8: http://ubuntuhandbook.org/index.php/2013/07/install-oracle-java-6-7-8-on-ubuntu-13-10/ Installation did not complete successfully. ...
0
votes
0answers
10 views

Error executing javascrit file through nashorn jjs

I can execute jjs on bash $ jjs jjs> but I can not execute script $ ./executable.js /usr/bin/env: jjs -scripting: No existe el archivo o el directorio executable.js #!/usr/bin/env jjs ...
1
vote
0answers
29 views

I can not save data to MySQL when is tomcat running

I have tomcat 7 and mysql 5.5.46. On my tomcat is running simple application which reads data from mysql. I have another java program that stores data in to mysql. When running tomcat and java ...
0
votes
2answers
41 views

iam not able to install java and android studio

dpkg: error processing archive /var/cache/apt/archives/gconf-service_3.2.6-3_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/gconf/gconfd-2', which is also in package ...
0
votes
1answer
24 views

Server responses fail corresponding to load test using JMeter

Using JMeter, I am load testing a web application that is hosted locally(Apache 2). When I am generating load like 5000+ virtual user, I saw more than 30% CPU is idle but still getting failed ...
0
votes
0answers
46 views

Re: Error (launching minecraft) Java oracle 8

Upon trying to launch Minecraft, I received this error. Thank you in advance for any help. The program 'java' received an X Window System error. This probably reflects a bug in the program. The ...
1
vote
1answer
103 views

How do I install the latest version of Java on Ubuntu 12.04 LTS? [duplicate]

I want to play on Minecraft servers, I can get on, but can't do anything, I can only play like one day per month. Do I need the latest version of Java or something? I am now using OpenJDK Java 7 ...
0
votes
0answers
311 views

Minecraft Launcher Stuck at “Starting Launcher” - SOLVED

People have had this problem on Ask Ubuntu, but all of the answers were to update Java. I'm not a big expert on computers, but I know that the Java version isn't the issue. You see, it seems very ...
0
votes
0answers
14 views

java's config directory is taking 2.5 GB. Can I delete it?

the directory is /home/shahar/.java/.config, this config folder is 2.5. from looking inside it relates to many programs on my system. but what would happen if I delete it? and would it just go back to ...
0
votes
0answers
31 views

Minecraft runs poorly, hangs, lags, and crashes

I'm trying to run Minecraft. It lags horribly, and more often than not, it is unplayable. I have tried allotting different amounts of RAM via -Xmx2G -Xms2G with values ranging from 512M to 4G. I've ...
0
votes
0answers
40 views

Android Studio makes Firefox hang

I have this strange issue with Android Studio. I have an i7 6 core (12 cpu) processor, when Android Studio runs a gradle build it uses one CPU for 100%, the others are at 0%. Then after a few minutes, ...
1
vote
1answer
28 views

Cannot launch Pydev in Eclipse

I first installed Java; then installed Eclipse IDE using this (no problems at all). Then I installed Pydev using this. But whenever I launch Eclipse in my home folder it opens Java IDE not Python ...
0
votes
1answer
31 views

Java if statement bug [closed]

This is my code: while(valid==false) { System.out.println("Please enter a reference number which is two letters followed by three digits and a letter(B for business accounts and N for ...
0
votes
1answer
74 views

Eclipse crash in Ubuntu Mate 15.04

I'm currently on Ubuntu Mate 15.04 and have installed Eclipse Mars directly from the official website. My Eclipse version: Eclipse IDE for C/C++ Developers Version: Mars.1 Release (4.5.1) Build id: ...
0
votes
1answer
97 views

Installing Java Offline

I understand that this question has been asked exhaustively and do not mind if it is marked as a duplicate, but I am having a little trouble setting Java up. When I follow this post, number six says ...
2
votes
0answers
28 views

Problems with Java and Symlinks

i'm having troubles with the java jar files symlink. First of all i've to use java -jar command if i don't do it the java file doesn't run properly. Well the problem starts when i symlink the jar ...
0
votes
0answers
20 views

Java program Technic Launcher greyed out

I start Technich Launcher, but the whole window is grey, whenever I manage to hit a button, everything that it affects, shows. E.g clicking "Username" field removes the grey area from the whole ...
1
vote
2answers
21 views

Java Ubuntu PATH for compile/run [duplicate]

Ubuntu noob here. When using Windows I just copy paste this in cmd: set Path=C:\Program Files\Java\jdk1.8.0_60\bin set HomePath= C:\Program Files\Java\ jdk1.8.0_60 What would the syntax for this be ...
0
votes
0answers
386 views

Error: Could not find or load main class

Error: Could not find or load main class I have a clean install of Ubuntu 14.04.03 LTS Trusty Tahr and it's completely up to date. After installing Oracle Java I tried these on (17/12/2015, 11:12am)- ...
1
vote
2answers
111 views

“java -version” showing a different output. How to find the installed folder and configure JAVA_HOME and JDK_HOME?

I downloaded and installed the JDK+Netbeans bundle from the Oracle website, but when I type java -version at the terminal, I get this output: $ java -version The program 'java' can be found in the ...
0
votes
0answers
33 views

.jar file isn't opening

So I've been using a .jar which launches a program, in this case a game. It was working fine, and I turned off my laptop and the next day I tried to open the jar and nothing happen, not even a loading ...
0
votes
0answers
22 views

tail error while Install java

I run 64 bit ubuntu and would like install another JDK for testing purposes. I have downloaded several installations from official Oracle site: j2sdk-1_4_2_04-linux-i586-rpm.bin ...
1
vote
1answer
43 views

Several JDK on one machine

I run Ubuntu with standar java that come with it (1.7). Now I need to test some applications using java 1.4. How to install both java on the same machine? I will also need this JDK for NetBeans IDE. ...
0
votes
0answers
107 views

java-8-oracle (1.8.0_66) problem with PrintAssembly “Could not load hsdis-amd64.so”

I'm trying to run my programs with -XX:+PrintAssembly options but I always get message like: Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to ...
0
votes
1answer
68 views

What's a text editor for Linux that can compile and run without the use of Terminal? [duplicate]

I'm looking for a text editor that can compile and run .java files directly, without having to use javac filename.java and java filename. Something similar would be Textpad for Windows, which uses ...
0
votes
0answers
28 views

Uninstall artifactory

I am using JDK 1.7 for my project. I installed the latest artifactory which requires at least JDK 1.8, therefore I want to uninstall it and install an older version that require JDK 1.7. What is the ...
2
votes
1answer
86 views

Error while installing DBeaver On Ubuntu 14.04

I am trying to install Dbeaver 3.5.6 on Ubuntu 14.04, but it shows some Java run-time missing error even though I've Java7 installed on my system. Here's how I tried to install ...
1
vote
0answers
65 views

Google Chrome using on Ubuntu 15.10 cause random black screen with logout

At work I daily use an HP Compaq Elite 8300 (Intel i7), with Ubuntu Desktop, Eclipse and Netbeans for develop linux embedded software, Java EE application and HTML/Javascript solution, and as browser ...
0
votes
0answers
39 views

Matlab crash when I try to compute a product which involve the transpose of a vector

I am new therefore I hope not to break any rules already in my first question. I installed Matlab 2014a in Ubuntu 15.10. When I try to run this simple code Matlab crashes: a=[1 2]; a*a'; This ...
0
votes
1answer
60 views

openjdk 7 java freeze launch

NOTE: Found a workaround, I just want to know where the problem is. Hello everyone, I am attempting to run a java *.jar file that runs on my debian setup but cannot get to run on a fresh install of ...
0
votes
1answer
37 views

How to set Java 7 as default?

For android 4.4.4 development, I needed Java 6. But eventually I moved over to Android 5.0 development which needed Java 7. When I tried using sudo apt-get install openjdk-7-jre and sudo apt-get ...
0
votes
0answers
13 views

Problem while creating new agent in JADE GUI

While creating new agent in JADE GUI, the following error message displays. FAILURE received during CreateAgent. Do you want to see the ACL message? Please help me to solve this problem