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

3
votes
0answers
206 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 ...
3
votes
0answers
349 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
131 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
97 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
271 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 ...
2
votes
0answers
210 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 ...
2
votes
0answers
291 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
51 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
291 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
126 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
218 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
147 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
475 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
232 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
78 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
292 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 ...
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
101 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
47 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
19 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
62 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
238 views

Eclipse Equinox ClassCastException when starting

I've googled around for about 2 hours now, and can't find a single other person with this issue. It seems to happen whenever I start Eclipse, and it makes the IDE completely unusable. I've tried ...
1
vote
0answers
71 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
135 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
44 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
548 views

Installing Php-java-bridge in ubuntu 14.04 i need two servers apache and tomcat both

When I copied JavaBridgeTemplate621.war to /var/lib/tomcat7/webapps and started the tomcat7 server and trying to go to http://127.0.0.1:8080/JavaBridgeTemplate621/ I'm getting following errors. HTTP ...
1
vote
0answers
166 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
12 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
50 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
34 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
189 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
112 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
229 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
366 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
924 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
242 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
126 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
411 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. ...
1
vote
0answers
63 views

Netbeans 7.0.1 missing display window

SInce a few days, my Netbeans application window is missing from the screen. When I try to launch it, only the application icon appears in the launcher, but when I click on it, nothing happens. When ...
1
vote
0answers
86 views

Minecraft Framerate Drop after 5 minutes

I installed 13.10 last night on a Dell Precision M6500 and I was amazed that I could get ~50 FPS, but then after about 5 minutes, it took a sudden drop to about 2 FPS. This happens every time and ...
1
vote
0answers
351 views

Unable to install java sdk, via java_ee_sdk-7-jdk7-linux-x64.sh

I read through many of the Q/A regarding installing Java on ubuntu, i am not satisfied hence this post. I did the following, downloaded java ee SDK 7, from oracle.com . sudo chmod a+x ...
1
vote
0answers
30 views

How do I get a newer version of Java?

For school work, I have to read a CD. Problem one: Need to read the CD without a reader. Solved by creating a .ISO on an adjacent computer. Now, there is already a linux "run" program on the file. ...
1
vote
0answers
327 views

Ubuntu 13.10 is freezing while using openjdk-7 and Oracle Java 1.7.0_51

I have had some problems with Ubuntu 13.10 while using OpenJDK 7 to play Minexraft 1.7.4. (Please don't tell me that I need to use Oracle Java, I already know I should be doing that.) My computer is ...
1
vote
0answers
117 views

Cannot open jar files

I am trying to run Java programs that were originally created for use in Windows on Ubuntu. I am able to download the files, change the permissions to make them executable, and open with Adobe JDK ...
1
vote
0answers
144 views

How to create keyboard shortcut that toggle start/stop .jar file?

# this is for running the AIORemote server from my Ubuntu 12.04 LTS Laptop to run with my Android device as remote control mouse pad and wireless file transfer. I know how to create keyboard shortcut ...
1
vote
0answers
299 views

Eclipse SVN fail to show history

in Ubuntu 13.10 after system updates (probably Java update) SVN (SVNKit) suport in Eclipse goes wrong I can do Update or Commit But I try Compare With Latest From Repository or try to show History ...
1
vote
0answers
86 views

How to get virtual console when ALT+CTRL+F1-F6 not working?

I wanted to install JRE latest. When I had Java (TM)... So I purged java* next time, I restart the system, I get a login screen. but after passwd given, it says failed to load session ubuntu. I ...
1
vote
0answers
43 views

How to install java for eclipse europe CDT

I have Eclipse europe CDT installed on my ubuntu system. I now want to add JDT to my eclipse so I can run java programs. I allready ran the command sudo apt-get eclipse-jdt and it says I allready ...
1
vote
0answers
59 views

Custom folder locations for Java & wine programs

I have customised the default folder locations for Documents, Downloads, Pictures, etc by modifying the ~/.config/user-dirs.dirs. I use a separate NTFS partition to be able to use the same folders on ...