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

1
vote
1answer
16 views

ubuntu 15.10 firefox 47 java plugin weirdness

I have just updated my system to use oracle java 8 build 91 (latest and greatest) and can't get the firefox plugin to work. Every time I try to verify it, it crashes. When I tried the approved ...
4
votes
1answer
29 views

Snap package for Java (Swing and AWT) application crashes when it is executed

I'm trying to build a snap package for a Java (Swing and AWT) application. It allows to download (and manage) wallpapers automatically from the Internet and stores them locally. This is the snapcraft....
0
votes
0answers
11 views

undefined symbol: jpeg_std_error while trying to run java project

I have a completed java project. I'm going to run it on ubuntu 14.4 x86. Project requirements are : Sun Java JDK 1.6, MATLAB Compiler Runtime (MCR) is installed (version 7.11), v4v4lj, code....
5
votes
4answers
10k 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 ...
1
vote
1answer
2k views

How is it possible that I can execute JAR file from shell?

I always thought, only executables in UNIX/Linux are ELF-files and shell scripts. But i found that it is possible to use just $ ./file.jar instead of $ java -jar file.jar. How are JAR-files special? ...
1
vote
4answers
6k views

Installation of SAP GUI 740 on Ubuntu 14.04

I need your help! I have the following version of JRE installed on my system: java version "1.7.0_75" OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1) OpenJDK 64-Bit Server VM (...
1
vote
0answers
19 views

Why can't java find my fonts?

Whenever I try to run any jar file via java -jar file.jar, I get an exception saying: Exception in thread "main" java.lang.NoSuchFieldError: fontFile I just earlier today was having the same issue ...
0
votes
1answer
12 views

Jar files in the Ubuntu Hud

So I have a few jar files that I frequently use (Minecraft and other launchers, to name a few) and they show up under the "File and Folders" section. If I open other files that have a similar file ...
0
votes
1answer
1k views

How to set a permanent environment variable? [duplicate]

I am not yet a Linux guy and I have some problem trying to add a new permanent environment variable. So I have to set a new environment variable named CATALINA_HOME with this value: /opt/apache-...
1
vote
2answers
1k 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 ...
1
vote
1answer
22 views

Unable to open .jar files with Java

I'm using Lubuntu and trying to open a file named Minecraft.jar, but all the solutions that work for other people aren't working for me. I have these versions of Java installed: openjdk version "9-...
28
votes
4answers
42k views

Replace openjdk with oracle-jdk on Ubuntu

I have an ubuntu system and I want to replace my openjdk with oracle-jdk. However if I remove my open-jdk and then install oracle-jdk, when I try to install some packages they want to install ...
7
votes
2answers
11k views

IcedTea plugin for OpenJDK 8

I updated from OpenJDK 7 to 8. I uninstalled 7, which uninstalled the IcedTea plugin as well. I tried to reinstall IcedTea with sudo apt-get install icedtea-7-plugin But it doesn't work. When I ...
0
votes
0answers
27 views

Problem when running a program in blackbox

I have blackbox on one of my home directories (a user that has limited abilities) and a java program to be run. When running from the Desktop (not blackbox) it works fine but if I run it from ...
3
votes
1answer
43 views

Oracle-Java8-Installer: No installation candidate

I'm trying to install Oracle Java 8 on my Ubuntu Server (16.04 LTS, fully updated, x64). I followed this (very simple) guide: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html ...
1
vote
1answer
35 views

“Unable to access address of buffer” MInecraft 1.10

I am attempting to run Minecraft 1.10 on Ubuntu 16.04. I've tried using multiple Java versions, specifically JDK 7, Oracle 7, Oracle 8, and Oracle 9, but only 9 managed to launch the actual game. Then,...
0
votes
1answer
45 views

I messed up the ~/.bashrc file and now terminal doesn't open ubuntu 16.04 [duplicate]

I just installed Android Studio on my ubuntu 16.04 machine and as I didn't want to go to its own home directory and now every single time I try to open the terminal, it tries to start android studio (...
0
votes
0answers
35 views

sudo apt-get upgrade not upgrading some packages [duplicate]

sudo apt-get upgrade is not upgrading packages hp@hp-HP-15-Notebook-PC:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
1answer
30 views

Pydev installation problem in eclipse

I am trying to install pydev 5.0 in eclipse 3.8.1 in Ubuntu 14.04 LTS,using Help->install new software.. I have Open java 1.7.0_101 and python 2.7.6. Installation success but it doesn't see in ...
2
votes
1answer
3k views

how to install java 8 in ubuntu 16.04? [duplicate]

How to install java-JDK 8 & maven in Ubuntu 16.04 without adding any PPA?
4
votes
2answers
5k 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 ...
0
votes
1answer
78 views

I can't update or remove java 10.67.2 plugin in firefox 47.0

When I click on (plugin) update now it is blocked and I am re-directed to the update now button to update Java. I updated Java to version 8 update 91. I followed the instructions about removing the ...
0
votes
1answer
19 views

Unable to launch UiAutomatorViewer on Ubuntu 16.04 LTS

I'm trying to launch UiAutomatorViewer but I've got the following error: -Djava.ext.dirs=/home/user/Workspace/android-sdk-linux/tools/lib/x86_64: /home/user/Workspace/android-sdk-linux/tools/lib ...
54
votes
5answers
23k views

Installing Java Automatically (With Silent Option)

I'm trying to install Java through apt-get. I found this PPA of Java Installers, however, when I add the repository, update and then issue the apt-get install -y command, the installer for java ...
1
vote
2answers
54 views

Running a .jar file with jdk 1.8.0

I installed JDK 1.8.0 from Oracle, and everything works perfectly. I can create, compile and run java files. But I just downloaded a .jar file and tried running it using java -jar path/name.jar and it ...
0
votes
0answers
11 views

Processing Error while installing clamtk etc

dpkg: error processing package oracle-java8-set-default (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error ...
0
votes
2answers
358 views

Invalid eclipse home when installing Eclim

I am encountering a issue when installing the Eclim. It is not able to detect the location of the Eclipse. At the installation screen, I select the Eclipse home folder, but the Eclim installer has an ...
0
votes
1answer
45 views

How to load a website that requires java oracle?

The link for this website is: http://emisas1.moe.gov.jo:7778/forms/frmservlet I tried to install some apps to solve the problem but it didn't work, I also tried to use firefox and opera, both of ...
1
vote
2answers
32 views

How to doubleclick a Java Jar and start it without sudo

My current Situation: my pc is running Xubuntu 16.04 a java jar app on Xubunutu desktop a USB thermal printer (Model: DigiPOS 920) is connected via USB to my pc the java app talks to the thermal ...
0
votes
2answers
71 views

Java doesn't work on Ubuntu 16.04

I'm trying to install Android SDK, but it doesn't work. I'm following this gist: https://gist.github.com/wenzhixin/43cf3ce909c24948c6e7 When I run the ./android command, I just get: java.lang....
0
votes
2answers
66 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. ...
44
votes
3answers
91k views

Setting JDK 7 as default

four@twenty:~$ file /etc/alternatives/java /etc/alternatives/javac /etc/alternatives/java:symbolic link to `/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java' /etc/alternatives/javac:symbolic link to `/...
-1
votes
0answers
28 views

Can not create new project in netbeans

I want to create a new Project in netbeans IDE, but I received a error:
0
votes
0answers
12 views

Gedit crashes opening serialized Java file

When I try to open a file containing a serialized java object, gedit crashes every time, and I cannot figure out why. It has no issues with other files besides these. I wasn't able to get a stacktrace ...
0
votes
1answer
424 views

Trying to Install OpenJDK Package 'openjdk-7-jre' has no installation candidate

I have just Updated to the new Ubuntu 16.04. This is a fresh installation of this os. Trying to install Openjdk 7 but get this error. Package 'openjdk-7-jre' has no installation candidate how do I ...
0
votes
1answer
24 views

Java apps are lagging

My graphics card is AMD RADEON HD 6670 and I have my video drivers installed. But my java apps are still lagging. Not all only those which I used Canvas class and game loops. How can I fix that?
1
vote
0answers
21 views

Program stutters when mouse is still [closed]

The solution can be found on StackOverflow I'm trying to write a program in Java, using Eclipse. I'm on Ubuntu 16.04. The program runs smoothly while I'm moving the mouse cursor. As soon as I stop ...
1
vote
2answers
4k views

Minecraft won't install

I tried to install minecraft on my computer, but it won't display on-screen. I went to https://www.minecraft.net/download and downloaded the jar file. I put the launcher on the desktop and tried to ...
16
votes
4answers
100k views

How run a .jar file with a double-click?

I have a problem running .jar files by double-clicking them. When I go to the Properties dialogue I can't find Java--only Archive Manager in the list of programs. But java -jar somefile.jar opens the ...
2
votes
5answers
6k views

Updating java version to 8 on ubuntu

I would like to update my java version (UPDATE, not install) on my ubuntu 12.04 computer. I currently have java 7.x, and I would like to update it to the newest version possible (8.0 at least) without ...
0
votes
0answers
47 views

how to install matlab on ubuntu?

sudo ./install -v Preparing installation files ... -> DVD = /vagrant/matlab -> ARCH = glnxa64 -> DISPLAY = -> TESTONLY = 0 -> ...
0
votes
1answer
22 views

Installing GATE on my computer

I'm trying to installe a program called GATE on my computer (Ubuntu 12.04). When downloaded I get a .jar file, but there install instructions seem unclear to me. Can anyone lend me hand in getting ...
0
votes
0answers
30 views

Ubuntu14.04 compile openjdk ERROR:FreeType version 2.3.0 or higher is required

I am using Ubuntu14.04 to compile openjdk,when I run "make sanity" met two ERROR . This problem has been consumed for several days,how can I fix them? ERROR: FreeType version 2.3.0 or higher is ...
0
votes
0answers
30 views

How can I install JAVA in Ubuntu for wine [duplicate]

I am trying to run a Windows program in wine on Ubuntu and I need to install Java in wine. I do not know how to install Java in wine, can someone please give me directions? Thanks
0
votes
0answers
158 views

Eclipse freezes when making new Project or package or class

I am new to Ubuntu. I installed it yesterday :D. Please, I want a simple explanation for my problem. I have tried to uninstall then reinstall Eclipse but it does not work. This problem happened with ...
3
votes
1answer
81 views

How can I use Pearson's ePEN java applet on Ubuntu?

I mark exams for Pearson online using a Java applet called e-PEN on this site. The 'minimum system requirements' state that only Vista or later Windows, and Internet Explorer 9 or later, are supported....