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
2answers
872 views

Where can I find a package for “project looking Glass”? (“The Java desktop”)

I really really want to find this package. Because after I saw the youtube clip I realized it's just one of those things I must have done before I die. This tutorial would be great if the repository ...
4
votes
2answers
1k views

Minecraft: Slow performance OUT of the game

I downloaded Minecraft yesterday to see what the fuss is about, brilliant game! When playing in Windowed mode, if I try and do anything else, i.e. use the computer, when the game is paused, the ...
4
votes
3answers
7k 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 ...
4
votes
1answer
1k views

Is there any way of adding an DSN in Ubuntu?

I am using Java-JDBC and Mysql is my database.. I want to have some Standard ODBC DSN like in windows....Is there a way of setting DSN(Data Source Name) in ubuntu for Mysql/ODBC Drivers ??
4
votes
1answer
12k views

How to install latest OpenJdk on Ubuntu?

I know that latest official openJDK is java version "1.7.0_25". But there is java version "1.7.0_40" in development. Does anyone know how to install openJDK "1.7.0_40" on an Ubuntu machine?
4
votes
2answers
1k views

Best Disk Partitioning Scheme for a Java EE Developer Machine

Are there some kind of "best disk partitioning scheme" for a linux-based Java EE developer machine, in terms of performance, organization or others? Thanks in advance.
4
votes
3answers
163 views

What happens when there are 2 versions of a terminal command installed?

For example, I have OpenJDK 6 and 7 both installed. If I run javac foo.java will is compile my program as a Java 6 program or a Java 7 program?
4
votes
1answer
11k views

Java bin file won't install manually [closed]

I downloaded a java bin file manually from here. Then I tried to install it using the following commands. But I am not able to install it. Can anybody help me to install manually? ...
4
votes
2answers
407 views

How to install Groovy?

I don't know how to install files to ubuntu. So kindly say me how to install groovy?
4
votes
4answers
10k views

Not all TTF fonts visible from the (Sun) JDK

I wanted to use Monaco.ttf with IntelliJ. Unfortunately it doesn't show up. I also noticed that the Monaco font doesn't appear in the list of fonts got from awt: ...
4
votes
1answer
3k views

Set .JAR default action to run with Java?

Currently, with my install of Ubuntu 10.10, Java JARs by default open with file-roller. How can I set it so that when I double-click a JAR in Nautilus, it opens with Sun Java 6?
4
votes
1answer
1k views

Permission denied while doplying Tomcat 8 webapp on Amaon EC2

I can't find how I can get write and read permission into the tomcat folder. I followed DigitalOcean's tutorial on setting up Tomcat. The only thing I did different is that I used Java 8 instead of ...
4
votes
1answer
206 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 ...
4
votes
1answer
1k views

jre not installed on firefox when using Citrix Access Gateway

I'm trying to get to my vpn / citrix access gateway using Firefox 38.0 for Ubuntu Canonical 1.0 Ubuntu 14.04 and when I try to log in I get this error: JRE is not installed on your machine. Install ...
4
votes
2answers
13k views

Oracle 12c Installation Error: “Exception … Could not initialize class sun.awt.X11.XToolkit”

I have been trying to install oracle 12 c on Ubuntu 14.10 but facing the below mentioned error.Could some one please check this and advise me how to fix this error? Checking Temp space: must be ...
4
votes
2answers
3k views

Iced Tea plugin keeps asking for permission to run Java applets

Every time the browser wants to load a Java applet a dialog asking me for permission to run the java applet appears. No matter if I check the option "remember this option" or not, the dialog appears, ...
4
votes
2answers
7k views

How to uninstall Java 7 binaries installed from Oracle?

I installed Java 7 using the instructions here: http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux I want to know how to revert this i.e. uninstall Java 7. I am on Ubuntu 13.10 64 bit
4
votes
2answers
12k views

Replacing the OpenJDK with the Oracle JDK

I've had the archive file for Oracle's JDK for some time and have been running java applications through ~/Downloads/jdk1.7.0/bin/java -jar <jarfile> for some time, but I'm wondering if there's ...
4
votes
3answers
985 views

Getting the PID of the process showing a particular window

I want to know the process ID of a particular window. I have seen and used the Force close panel applet, and I'd like something similar that would report me the process ID of the window I select. If ...
4
votes
2answers
639 views

Ubuntu Jeos like minimal image for server with JRE

I need to create minimalistic server appliance for running on amazon ec2 (ami). I tried debootstrap. its coming upto 200+ MB , its same with vmbuilder also. Are there any ways of getting it down to ...
4
votes
1answer
5k views

Error running Java web application with OpenJDK Java7 runtime in Ubuntu 14.04

I have fresh Ubuntu 14.04 install on my HP Pavilion g6 laptop. I have installed OpenJDK and IcedTea plugin in order to run Java applications as explained here. But when I am going to chess.com ...
4
votes
1answer
4k views

Multiple JDK is not working properly in Ubuntu 14.04

JDK versions (jdk1.7.0_21 and jdk1.7.0_55) Installed and Configured like below. jdk1.7.0_21 update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_21/bin/java" 1 ...
4
votes
1answer
2k views

How can I improve Eclipse's user Interface to get rid of the excessive padding and spacing?

Eclipse Juno (historical versions too) has too much padding applied to the tabs and borders. This makes it hard to work with multiple project folders, especially ones containing multiple packages and ...
4
votes
4answers
19k views

How to update Oracle Java plugin for Google-chrome?

To begin with, I have already read the following solutions: Cannot Update Java plugin for Google Chrome How do I get Java plugin for Chrome? Installing Chrome Java Plugin How to install Oracle ...
4
votes
1answer
13k views

First time using Java Web Start in Ubuntu - Fatal Launch Exception

I've been using Ubuntu for a while and Java Web Start applications have never "just worked" in the current or any prior version, so I ignored them until now. However, now I have a need to get them ...
4
votes
2answers
4k views

How to make Minecraft run smoothly?

I have noticed that on Windows, Minecraft runs a lot smoother than on Ubuntu 11.10. What can I do to make it run smoother on here? I have a ATI Mobility Radeon HD 4250 Graphics card. I don't know ...
4
votes
2answers
1k views

What is the application of JRE in LibreOffice?

Initially when I installed Natty, JRE was not installed for libreoffice. Later I came to know installing JRE i.e., libreoffice-java-common will lead to performance improvements. So installed it and in ...
4
votes
2answers
799 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
1answer
243 views

Minecraft: right click shows cursor

I play Java progammed game Minecraft. When I place an block by using right click, it shows the cursor position over the Java application as long I hold it down. It is annoying because on Windows ...
4
votes
0answers
194 views

OpenJDK, IcedTea security settings

I am a beginner Linux user. From my knowledge the system uses OpenJDK and IcedTea only when I connect to a SAP IDES server through SAP GUI JAVA adding a string in it to connect to that server. I use ...
4
votes
0answers
56 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 ...
4
votes
2answers
4k views

Install JavaFX scene builder 2.0 on Ubuntu 14.10

I am beginning my work on a JavaFX application for which I am using Intellij Idea ide. I have Java 8 installed on my system and I can see JavaFXSceneBuilder 1.1 in my system installed. But as I read ...
4
votes
2answers
2k views

How to unlock file, locked by a process

The file is locked by a process, java in my case. I only want the lock to be released. lsof | grep /home/user/workspace1 A temporary solution was to 'End Process' from 'System Monitor'. But ...
4
votes
1answer
481 views

Pointer position way off in Java Application menu's when using gnome-shell

When using any java application in gnome-shell if the window is maximised the pointer position is way off; but only on the menu's, in the editor, or the side panel, the pointer is fine. This only ...
4
votes
0answers
2k views

How to compile and run Java file using Geany [closed]

I am trying to to compile and run .java file using Geany but its not working. Can anyone explain me why? Sorry for english.
4
votes
0answers
4k views

Installing 32 bit java now that ia32-sun-java6-bin is not available [duplicate]

Possible Duplicate: How can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK? Prior to 11.10, I could install a 32 bit java side by side with the 64 bit versions using the package ...
4
votes
1answer
195 views

Error while installing Oracle JDK 8 in Ubuntu 15.04

These commands both run successfully sudo add-apt-repository ppa:webupd8team/java sudo apt-get update But when I run sudo apt-get install oracle-java8-installer, it downloads the JDK but then ...
3
votes
2answers
4k views

How to update Eclipse 3.5.2 to 3.6.2?

I want to develop swing applications using the visual editor in Eclipse, but it need Eclipse 3.6. But it is already up-to-date using synaptic package manager. Is there a separate PPA for the version ...
3
votes
3answers
2k views

How can I write Ubuntu apps in Java?

I am new to linux. I want to develop apps for Ubuntu desktop and mobile using Java.
3
votes
1answer
400 views

Where is my application installed? [duplicate]

I am getting errors like com.ibm.icu etc are missing from /home/jiewmeng/eclipse/plugins/*. I think it might be because I am working on the project from 2 different computers where the eclipse paths ...
3
votes
4answers
14k views

How to set java home?

Can any one tell me, how to set java home in Ubuntu 12.10?
3
votes
4answers
17k views

How do I configure Java security settings, etc?

I have installed JDK 7, but how do I configure settings like security, etc? On Windows, I can set up JDK 7 from Control Panel -> Java.
3
votes
6answers
18k views

Cannot execute Java program: UnsupportedClassVersionError

I have installed JDK 6, but I can't execute a Java program. For example, I have made test.java. I compile it with javac tes.java and there's no error when I compile it, but when I want to execute ...
3
votes
2answers
516 views

Is the openjdk-r ppa trustworty?

I've seen a ton of blogs saying Java 8 is now available to Ubuntu 12.04 & 14.04 through the ppa openjdk-r. My question is how trustworthy is this ppa? Is it run by people from openjdk or ubuntu or ...
3
votes
2answers
20k views

Oracle Java Virtual Machine install?

I cant get it install and I need it running for a job application i need to put in online. jre-7u51-linux-i586.tar.gz that's the file and every time I try to install it wont complete, says cannot ...
3
votes
4answers
10k views

How can I get sikuli-ide to work?

I installed sikuli-ide with sudo apt-get install sikuli-ide Everything was fine until I tried to start it from the terminal. I typed sikuli-ide But the only response I got was [info] locale: ...
3
votes
2answers
69 views

How to launch Ubuntu Center from my application?

My Java application needs this library libswt-webkit-gtk-3-jni to run successfully. So if the user doesn't have this library installed, I want Ubuntu Software Center to be launched and tell the user ...
3
votes
3answers
3k views

When running Minecraft with OpenJDK, my keyboard becomes unresponsive?

I recently downloaded Minecraft with the .jar format and had it running on my computer not so long ago. Now that I'm using my desktop instead of laptop temporarily, I want it to run. On my laptop it ...
3
votes
2answers
3k views

Package 'ttf-mscorefonts-installer' has no installation candidate

I am having a Java based web application running in Amazon EC2 Ubuntu server. I use Jasper reports to generate some reports in PDF format. I built these reports using 'Jaspersoft Studio' Now, when I ...
3
votes
2answers
5k views

Error installing oracle-java8-installer from webup8team ppa

Does anyone know how to fix this? First I did: sudo add-apt-repository ppa:webupd8team/java Then I did: sudo apt-get update And then: $ sudo apt-get install oracle-java8-installer Reading ...