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
13 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
69 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
36 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
17 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
35 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
79 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
47 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
43 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
93 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
38 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
27 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 ...
0
votes
0answers
18 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
341 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
69 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
25 views

Java Installation error [duplicate]

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
186 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 ...
0
votes
2answers
166 views

Minecraft Server keeps crashing out of memory, but stil empty swap left

I am trying to run a spigot server on my ubuntu vps (openVZ). The problem is that I receive "Killed" messages that shuts the server down. After a bit research i found out that there is not enough ...
0
votes
0answers
14 views

Ubuntu 14.04 How to launch java application to occupy entire screen

I want to launch my java application so it appears on top of the desktop over the top of the icon bar on the left. Question is how?
0
votes
1answer
105 views

Problem with adding Tomcat server to spring tool suite in Ubuntu?

I ma trying to add Tomcat server in to STS but I do am not able to do it. Some times the server name doesn't appear when I try to add Tomcat by selecting it from the list, I can't type in the server ...
0
votes
1answer
129 views

Properly set up java development environment

I am a java developer mainly coding on win environment. I am planning to move to Ubuntu and I would like to know what is the best way to setup my jave, ide, maven and others. Under Windows I would ...
3
votes
1answer
54 views

cannot build Java programs in Geany Editor?

Something error with Geany cannot build java programs. when i click on build i get output like :- make: *** No targets specified and no makefile found. Stop. PS: Nothing problem with JDK. Run ...
0
votes
0answers
72 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
159 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
43 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
43 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
46 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
109 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
32 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
880 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
45 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
51 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
204 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 ...
0
votes
0answers
27 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 ...
1
vote
0answers
98 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 at first, but then it stays on the loading screen. This is what is says: Please ...
0
votes
0answers
17 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
162 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
170 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
1answer
199 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
38 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
21 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
23 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
74 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
65 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
55 views

Server responses fail corresponding to load test using JMeter [closed]

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
70 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 ...
0
votes
1answer
127 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
17 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
50 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
77 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
92 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 ...