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

4
votes
0answers
442 views

Cannot sudo apt-get -f install because of jdk problem

I am completely stumped. The problem is as follows. user@mycomputer:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done ...
4
votes
0answers
535 views

Android Studio doesn't render Ubuntu Mono Font well

It doesn't even recognise it as a Monospaced font. Then it only shows anti-aliasing when the font size is set to 20 or over. But for other fonts it does it at 16. The result is ugly looking fonts and ...
3
votes
0answers
620 views

Desktop shortcut and lock to launcher for phpstorm failed to launch program

I have just installed phpstorm, phpstorm can be opened via command line but I can't open the program via launcher or desktop shortcut and nothing error shown. - My phpstorm.desktop code : [Desktop ...
3
votes
0answers
313 views

How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?

Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via sudo aa-enforce /etc/apparmor.d/usr.bin.firefox Doing this on Ubuntu 14.04, however, makes Java ...
3
votes
0answers
308 views

Eclipse Juno won't open gui java apps when run with gksudo

I have Eclipse Juno installed on Ubuntu 12.04. When I run from the command line with sudo, everything works fine. However, when I follow the advice I see everywhere and run it with gksudo, I get the ...
3
votes
0answers
144 views

How to do a ppa for a java ant project?

I was doing a launchpad ppa for my ant project using jdeb. when I had the unpleasant surprise in the last step that ubuntu ppa actually builds the package from the repository, not just accepts signed ...
2
votes
0answers
14 views

Increase and decreasing screen brightness crashes Minecraft

Problem: When increasing or decreasing the screen brightness, Minecraft crashes and to an extent freezes my computer UI. What I mean by to an extent is that I can move the cursor around, but I can't ...
2
votes
0answers
89 views

how to enable webex on 14.10 64bits

I had issues to join Cisco Webex in Firefox on 14.10 64bits. Here is my experience to make it work. First, you need to install either openjdk/icedtea or Oracle Java as the JRE. You should be able ...
2
votes
0answers
31 views

Eclipse problem does not start on 14.04

Just yesterday eclipse was working fine. But today it get's stuck on the small window,after eclipse launch screen. Don't know what exactly is the problem. Due to low reputation i'am unable to post the ...
2
votes
0answers
103 views

Run Windows Java program in Ubuntu 12.04 without Wine

If a Windows program (*.msi) was written in Java, is there a way for me to extract the contents and install it taking advantage of Java's cross-platform capabilities? I'd like to install it bypassing ...
2
votes
0answers
136 views

The installed java is version 7u65, yet the ubuntu package is 7u71, why the discrepancy?

I'm running Ubuntu 14.04 and need to use Java 7 update 71. It seems like openjdk has been updated in the Trusty repos to update 71, yet even if I install the update java seems to still be at version ...
2
votes
0answers
357 views

Unable to start topcoder arena in Ubuntu 14.04

When I want to clear cache using javaws - viewer these error comes. I am trying to launch my topcoder arena. Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar Exception in ...
2
votes
0answers
61 views

Weird java memory allocation

My task manager shows that for my java process memory allocated is 16777216.0 TB (yep, TB). It happens when programming swing application with eclipse 3.8. Oh, and my distro is lubuntu 14.04. Nothing ...
2
votes
0answers
324 views

How can I improve the font rendering of Swing Java applications under Ubuntu?

Some Swing-Java programs in Ubuntu look very ugly because of their font. What's wrong with the fonts? Is there any way to fix the aliasing?
2
votes
0answers
132 views

Stuck on render ring in fullscreen when having used `xrendr -o right`

At work I am supposed to get a Java application running in fullscreen on a big-screen tv. This TV is connected to a Intel Nuc device, which is running Lubuntu 13.10. This TV is hanging on the wall ...
2
votes
0answers
246 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
2
votes
0answers
153 views

I tried to transplant the wireless_tools to Android4.0 system, but I have a problem with Java

My Linux system is Ubuntu Kylin, a new branch of Ubuntu spreading mainly in China. I have changed some files, such as wireless.22.h, ifrename.c and iwlib.h, in wireless_tools.29/ which is located in ...
2
votes
0answers
488 views

Install 32 bit JRE on 64 bit Ubuntu 12.04 for Nokia SDK 2.0

I have successfully install java for my ubuntu through terminal but in mobile project want to include Nokia SDK 2.0 but this Platform is not able to run without 32bit jre. Error The SDK could not ...
2
votes
0answers
243 views

Java installed, command not working

I have installed java but I could not get any java command to work! Below shows what I get when I try to run java commands: sultan@ubuntu:~$ java The program 'java' can be found in the following ...
2
votes
0answers
87 views

How Can I Change Jamvm on my embedded system to Openjdk?

I have one Embedded System Currently working On jamvm. I Want to change it to openjdk. How Can I do that???
2
votes
0answers
1k views

How to force update-alternatives to update jdk?

I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java For some reason this doesn't seem ...
2
votes
0answers
205 views

Starting minecraft logs me out of ubuntu 12.04

Whenever I start minecraft I can only get past the login screen. After that, the screen flashes dark, occasionally showing a Checking battery state ... [OK], and then it brings me to the login ...
2
votes
0answers
104 views

Help with Java: I want to reduce how many Java installed I have down to 1.

I have used many different methods to install java because I want to get Minecraft working. I heared that if I uninstall Java it would installed Libre Office, which I do not want to do. I have a ...
1
vote
0answers
10 views

Unable to execute java programs on ubuntu 14 studio lite

I recently installed ubuntu 14.04 studio lite 32 bit. I have java apps that I created using netbeans 8/open jdk 1.7. They run fine using the netbeans debugger. However when I create the tar, it can't ...
1
vote
0answers
154 views

Firefox won't run java after installing 15.04

I installed ubuntu 15.04 yesterday. Firefox will not run the race viewers at igpmanager.com which use java. Ran java version and it returned the latest version of java. This machine is running an SSD ...
1
vote
0answers
11 views

What does threatening to kill a process in gnome-system-monitor do?

If I play Minecraft, it freezes often (~every 20 sec); if I select the Java process in System Monitor and press delete, the end process box pops up. At this point, Minecraft unfreezes and accepts all ...
1
vote
0answers
106 views

Minecraft won't run on 14.04

I've had minecraft running on 12.04 for ages, but since upgrading to 14.04 it won't start. I'm using Oracle Java 8, but I've tried Oracle Java 7 and the default Java 7 that comes with Ubuntu. Here's ...
1
vote
0answers
62 views

Support / lifetime of OpenJDK 6+7 in Ubuntu 12+14 LTS

We have a few systems running OpenJDK 6 on Ubuntu Server 12LTS..we are planning on updating to Ubuntu Server 14LTS with OpenJDK 7. Unfortunately I cannot find any information about OpenJDK 6 + 7 ...
1
vote
0answers
125 views

Cannot able to connect to another host

After few self tests, I thought I'm having a telnet problem. So I am recreating a shorter version of this question I have two machines: cassandra is running on one machine using IP 172.17.1.XX. ...
1
vote
0answers
45 views

Cannot remove openjdk without having an older version installed, how can I do so?

I am running Ubuntu 14.04.1 64-bit with Oracle Java installed, hence I would like to uninstall openjdk, but when I try to uninstall it via the command line I get the following output: ~$ sudo apt-get ...
1
vote
0answers
114 views

Java applications do not work in Ubuntu 14.04

I have had working Java environment til Yesterday, I cleared my all files and folders in /tmp/ then restarted my computer after that I can not get any Java applications (Chrome, Firefox, Thunderbird, ...
1
vote
0answers
25 views

JOSM file associations

If I download JOSM from the Ubuntu repo, I get a somewhat outdated version, but sound files attached to a GPX track will open directly in Totem, the associated application. If, however, I download ...
1
vote
0answers
94 views

Publish Java Swing Application on Ubuntu Software Center

I have installed Ubuntu 14.04 on a VirtualBox in Windows 8.1 and now I want to install Ubuntu SDK in it using the following commands: $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa $ sudo apt-get ...
1
vote
0answers
110 views

Freemind java problem in 14.04

Trying to run freemind 0.90 on Lubuntu 14.04. I have installed oracle java 7 and get following error: [warning] /usr/bin/freemind: JVM flavor 'java6' contains illegal characters [warning] ...
1
vote
0answers
148 views

Java & High CPU usage

I use a certain java application to trade the stock market and it consumes 90% my CPU power. And the CPU temp usually remains around 90c. This is a real headache. What causes this problem and what are ...
1
vote
0answers
78 views

Apport is not creating .crash file for java crashes

I am having issues on production server, It is groovy/grails application and I am using quartz to run many crons. There is one cron which is when enabled crashes the JVM. I have no idea why. I can't ...
1
vote
0answers
113 views

Why doesn't lsof show localhost TCP connections in 14.04?

I have two servers running 12.04.4 and 14.04.1 respectively. Both have nginx (port 80) and a Java process (port 8080). As expected, the lsof output for the Java process (sudo lsof -nP -p $PID) on ...
1
vote
0answers
232 views

How to open jar file with doubleclick after upgarade to 14.04?

After upgrading to 14.04. I ran into problems with opening .jar files. Double clicking on Client.jar doesn't open it. I tried right clicking and selecting both , OpenJDK Java 7 runtime and OpenJDK ...
1
vote
0answers
13 views

How to fix laggy behavior in Auctionsieve 2.6.7 in Ubuntu 14.04?

With Auctionsieve 2.6.7 on Ubuntu 14.04, when I move the pointer around with the mouse, the user interface is laggy. A shady gray color is slowly painted across discrete rows of the screen from ...
1
vote
0answers
57 views

Eclipse dosn't see JDK

I had installed Eclipse and it was working well few days ago. Now I can't create Java project, there is no such option and in the Eclipse Preferences there is no mention about the word Java. I was ...
1
vote
0answers
42 views

Java process stays open

I like playing Minecraft but after I close Minecraft, the java process stays on and I need to go into the system monitor to kill it or else there will be a lot of java processes on slowing down my ...
1
vote
0answers
207 views

Why can't I start Eclipse after I killed it once?

Eclipse IDE in my computer running Ubuntu 13.10 hung once. I just killed the process. Thereafter it shows this whenever I try to start Eclipse: Job found still running after platform shutdown. ...
1
vote
0answers
143 views

Java still dont recognize horizontal scroll (right click) 14.04

I am totally trackpoint fan, I use it all the time and have disablet my touchpad. Due to my study I work a lot with MATLAB, but MATLAB uses Java, and horizontal scroll does not be recognized by java ...
1
vote
0answers
314 views

Can Ubuntu for tablets run Java applets?

Can Ubuntu for tablets run JAVA applets in browser? My bank has netbanking build in Java and I need to use it on my android tablet which does not support Java browser applets. Don't have experience ...
1
vote
0answers
408 views

JavaFx 3D does not run on Ubuntu 14.04

When trying to run the *javaFX 3D demo on my Ubuntu 14.04 (Gallium 0.4 on AMD REDWOOD, Java JDK 8u5), I get the fellowing error message: Executing ...
1
vote
0answers
323 views

java file will not launch from .desktop file - Ubuntu 12.04 LTS

I have a bin/bash script- #!/bin/bash java -Xms256m -Xmx1g -jar KeeperDesktop.jar inside an executable text file ( keeper-start) I have created a .desktop file for it as i want to launch it ...
1
vote
0answers
976 views

Eclipse stopped working with Ubuntu upgrade to 14.04

Two days ago I upgraded to the latest Ubuntu 14.04. Everything was working fine, until I tried to open Eclipse that I use for Java development. It shows the loading window but the program never loads. ...
1
vote
0answers
333 views

Cannot run jBoss on ubnutu 12.04

I am trying to install jBoss application server on Ubuntu 12.04. I am using Vagrant. Here is what I am getting: vagrant@precise32:/usr/share/jboss-as-7.1.1.Final/bin$ ./standalone.sh ...
1
vote
0answers
161 views

Java apps consume 200% my CPU after cloning image in another computer

Yesterday I cloned an image of Linux from a Core 2 Duo to a Core i5 laptop. Everything works as expected except for JVM. I've installed in my machine the OpenJDK, Java 8 (jdk jre) and Java 7 (jdk ...
1
vote
0answers
449 views

How to install glibc 2.12 or 2.14 on Ubuntu 12.04?

I am making a JNI call to a C++ library and it is compiled in glibc v2.12 or v2.14, but Ubuntu 12.04 has glibc 2.15. Whenever I make a call to the C++ library I get the error glibc 2.14 not found. ...