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

Listening on port 80 in Ubuntu

I have an Ubuntu 15.04 system with a Java webserver listening on port 3000. Iptables prerouting is setup like this: iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000 ...
0
votes
2answers
50 views

How to disable Java in the browser for all users?

After reading this news I decided that I would disable Java in my browser, so I opened up the Java Control Panel and went to the Security tab: However after unticking Enable Java content in the ...
0
votes
0answers
248 views

Ubuntu 15.10 - jboss wildfly 9.0.2.Final, Eclipse Mars crash due to JVM error

After I upgrade to Ubuntu 15.10 , when I start the jboss wildfly 9.0.2.Final and eclipse mars crashes due to JVM error. At that time I cannot access Chrome or Firefox browsers as well. Most of the ...
0
votes
1answer
26 views

Cgoban Java App

Dunno what happen but my app CGoban which is a java app from KGS is not working anymore properly. Dunno why on Ubuntu 14.4 we can't have a proper java as on other OS, but I would like to ask you ...
0
votes
0answers
90 views

Can't use icedtea plugin without removing proprietary plugin (firefox)

What I'm trying to do: Switch from using the proprietary java plugin (java 1.8.51) to using the icedtea plugin. Apparently there still doesn't exist an icedtea-8-plugin for ubuntu 15.10 in the ...
0
votes
0answers
29 views

Java Security overriding whitelist

I'm running 15.04 on a custom build and Java Security is giving me fits. I need to run apps from a specific site that keep throwing a security error. No problem, I go into the control panel and ...
2
votes
2answers
673 views

Assistive technology not found error while building aprof-plot

$ java -jar aprof-plot.jar Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at ...
0
votes
1answer
231 views

Unable to set JDK path in IntelliJ IDEA

I am trying to get started with IntelliJ IDEA, however I am not able to set the JDK path. which java returns /usr/bin/java, however IDEA is not able to find the specified path. Expanding bin in the ...
0
votes
0answers
143 views

Can't run Minecraft on Crouton

I can't seem to get Minecraft running. This is the third instance of crouton I've tried and every time I get the same error: Minecraft Crash Report Time: 11/8/15 10:40 AM Description: Initializing ...
1
vote
2answers
456 views

After 15.10 update, I can't play Minecraft or FTB

I have been able to play Minecraft fine earlier, with Xubuntu 15.4. Yesterday when I updated to 15.10 I am unable to play online. Here is the launch log. I have tried reinstalling both Minecraft ...
0
votes
2answers
39 views

how to remove usr/lib/java/jdk/1.8.0_45

I can't recall what I did wrong but i have a folder named "usr/lib/java/jdk/1.8.0_45" that has a desktop for itself in it and all that, basicly an user for itself and all my pictures get saved in ...
0
votes
0answers
25 views

set classpath for www-data

I am using shell_exec() from PHP to run a Java program on Ubuntu. I tested the programs from terminal and its working perfectly. I think that my problem is that when i use shell_exec() the user is ...
0
votes
0answers
38 views

Opening .jar Java files on Ubuntu Phone device (BQ Aquaris 4.5 / Meizu MX4 )

Im' interested to buy someone Ubuntu Phone Device. I want to compensate small number of available Ubuntu Store apps by some .jar Java apps. Question to current Ubuntu BQ Aquaris 4.5/5 or Meizu MX4 ...
0
votes
0answers
36 views

Problems running Oracle Forms Services

At my office we used an Oracle DB in 10g, and ran Oracle forms in pc's with windows and ubuntu (12.04 and 14.04) as well, now we updated our Data Base to 11g and had to download and install ...
0
votes
0answers
51 views

Android Studio disappear after opening a project?

I have Ubuntu 14.4 system and Android studio. Its working good but after some update of jdk and may be system update, now i having problem that whenever i open my android studio, its open android ...
1
vote
1answer
218 views

Install eclipse + eclim in a headless server

I am trying to install eclipse + elim in a remote linux server where there is no internet connection and no display available (I am accessing the server using putty). Also I don't have root access in ...
0
votes
1answer
680 views

Android Studio-Classes can not be instantiated

I'm using Ubuntu 14.04, I've started to delve into app development and I'm following some online tutorials and I've come across this rendering issue. Whenever I select any theme other than ...
0
votes
0answers
23 views

Unable to access a file

Trying to run a command line: java -jar banjo.jar settingsFile=data/release2.0/static/static.settings.txt When I do I get a message: Error: Unable to access jarfile banjo.jar I am in the ...
0
votes
0answers
62 views

Black screen on hdmi second screen and java (Radeon HD 8330 ubuntu 15.10)

when i open i.e. netbeans 8.0.2 with java 8, in full screen in my second screen in hdmi port, after a few seconds, only that screen become blink black, and after a 1 minute screen goes black. If i ...
0
votes
1answer
228 views

Login Screen keeps asking for password

I installed Ubuntu 15.10 on VirtualBox today and while trying to install jdk1.8.0_66, I updated /etc/profile and /etc/environment files for updating JAVA_HOME & PATH variables. Even after the ...
1
vote
2answers
92 views

Symbolic links and the sense of /etc/alternatives

When typing java into my console, a symbolic link in /usr/bin/java is followed. which java /usr/bin/java This symbolic link points to /etc/alternatives/java. file /usr/bin/java /usr/bin/java: ...
0
votes
3answers
34 views

Shell script not recognizing JAVA_HOME env variable

gandalf@AS426:~$ gandalf@AS426:~$ cd /xnc gandalf@AS426:/xnc$ sudo ./runxnc.sh [sudo] password for gandalf: Need to set JAVA_HOME environment variable gandalf@AS426:/xnc$ echo $JAVA_HOME ...
1
vote
0answers
79 views

Global Menu for JavaFX Applications

I know that we can enable global menu for Java Swing applications using Jayatana. But I am searching for global menu support for JavaFX applications. After searching on it, I have found that ...
2
votes
1answer
462 views

Intellij Idea Community Edition, cannot set `Gradle home`

I installed Gradle from the repository. Then I downloaded Intellij Idea Community Edition from the official website and installed it. I set the Java JDK and now I am trying to open a Gradle Project, ...
2
votes
1answer
144 views

java alternatives - Change auto mode

I have three JDKs installed, all needed for some projects I work on. When I run sudo update-alternatives --config java I get the output: There are 3 choices for the alternative java (providing ...
2
votes
0answers
386 views

How to remove Eclipse Mars.1 installed using oomph installer

I've installed Java-EE Eclipse Mars.1 in Ubuntu 14.04. And now I have problems running different bundles of Eclipse. Besides this installer created a weird shortcut ...
0
votes
1answer
56 views

How do I diagnose a possible regression in the Java package?

Yesterday, after installing the daily software updates, I experienced high CPU usage in a Java application that has been working fine until then. Java was among the updated packages. From ...
1
vote
1answer
485 views

Running AndroidStudio on Ubuntu 15.10 crash

Right now I am facing the issue that I cannot develop in AndroidStudio using Ubuntu 15.10, because both openjdk-7 and openjdk-8 cause problems. openjdk-7 issue Running AndroidStudio using env ...
1
vote
0answers
36 views

Bash auto-completion won't work for java command

I have a folder that has one java source (.java) and one java (.class) class file. I try to get the autocomplete functionality of bash by pressing <tab> after the java or java MyCl in order ...
2
votes
2answers
147 views

Java, installation problem or issue of the noob?

Hi guys I have tried in recent days to install, obviously everything from termianl, the jdk for Java with no success. Later I tried to install WinUSB and everything went ok. Today panic, I'm going ...
0
votes
0answers
38 views

How to run jar files

I'm pretty sure this has been asked once but I can't find it so here I am. I just installed Ubuntu 14.04 and I used the command java-version to check if I have Java and it says I have it with the ...
0
votes
0answers
86 views

Bluetooth connectivity issue with 14.04 LTS/Intel Compute Stick

I am developing code for data transfer between an Android tablet (currently testing on 4.4.4) and an Intel Compute Stick. I was having issues getting the Android device to connect to the Stick. To ...
0
votes
0answers
56 views

Setting Java Classpath Variable

I'm using maven on Ubuntu in order to run a Java project. I execute maven using mvn clean install - e When I do this the build succeeds with no problems. However, when I actually try to run the ...
1
vote
1answer
60 views

How to run a java from another file?

I have seen some java applications which I don't type the command in the shell to run it, but when i click a file, it runs the java application. I have only tried javac myjava.java java myjava ...
0
votes
0answers
142 views

Running a Minecraft server, can't connect on local network

So I am trying to run a minecraft server on an old laptop. I have a server setup and tested on Windows 10 that I copied to the laptop. The server starts up and doesn't show any errors. I can connect ...
0
votes
1answer
28 views

Would Java Matter?

I was building Cyanogenmod for S4 Mini and also writing android apps on the Android Studio when I stumbled across the JDK error on the Android Studio. It went something along the lines of OpenJDK was ...
1
vote
1answer
25 views

Can I install oracle 11g on both windows and ubuntu running on dual boot?

I have windows 8.1 and ubuntu 14.04 installed in dual boot on my laptop. I have oracle 11g enterprise edition installed on windows. I want to install oracle 11g express edition on ubuntu. Previously, ...
7
votes
2answers
3k views

Netbeans 8.0.2 freezing at startup on Ubuntu 15.10 64bit

I just installed Ubuntu 15.10 64bit on my Thinkpad and everything works fine, but I installed netbeans 8.0.2 and when I try to launch it, it freezes at startup during the Loading modules phase. I ...
0
votes
0answers
49 views

How do I fix the Permisson denied for the following?

jesse@thee-laptop:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been ...
0
votes
0answers
69 views

Can't install java plugin

I think I did all the proper codes, and I went to the file browser and I see the .so file in firefox's plugin directory. It's just not running... Working. Doesn't show up in plugins, about:plugins, ...
0
votes
1answer
579 views

Java: Error while loading shared libraries: libjli.so

I tried installing openjdk6, openjdk7, oracle8... But always the same error when I want to execute java, for example with java -version: java: error while loading shared libraries: libjli.so: ...
2
votes
2answers
114 views

java -version pulling up wrong version

First off I'm using Ubuntu 14.04 I was following this video to set up a Java JDK and at the end he uses java -version to see his current version number. The Version I installed was 1.8.0_66 but ...
2
votes
1answer
112 views

Eclipse Marketplace

I have installed Eclipse with: sudo apt-get install eclipse Now I doesn't find the Eclipse Marketplace in the menu "Help". Where is the Marketplace or how can I install it?
1
vote
2answers
184 views

How to make Java GUI programs look more modern?

I have been using Dr Java on Ubuntu 14.04 and the GUI components all look very dated compared to the ones on Mac or Windows. Is there some way of updating this, or are all Java components in Linux ...
0
votes
1answer
28 views

I keep getting a “python2.7-minimal” error. Any help?

I am getting this error when I try to install anything. I try sudo apt-get install python2.7-minimal. It won't work. Can anyone help me? Here is the code again. E: Could not perform immediate ...
0
votes
0answers
49 views

Minecraft suddenly extremely slow

I recently re-installed the Minecraft client on my laptop. Before this, it worked fine without any issues whatsoever. Now, I can only get about 5 minute of gamer time before it lags so bad that I ...
0
votes
1answer
91 views

Junit4 giving “no tests found” when running junit on simple test cases

I need some help getting junit4 working on ubuntu 14.04. I have installed junit correctly (I hope!), when I use junit -v in the terminal it returns junit 4.11. However when I compile with javac: javac ...
0
votes
0answers
109 views

Minecraft 1.8.8 isn't loading on lubuntu

I searched forever and can't find someone with a similar problem as me. As soon as I log in and press play, the launcher screen exits, then the Minecraft window pops up and the screen just copies ...
0
votes
1answer
191 views

Installing JDK.rpm file using alien

Ok SO I'mn trying to install JDK on my ubuntu virtual machine ot use it for Netbeans but for some reason it wont work. I downloaded JDK from oracle's site, the .rpm file. I read online that I should ...
0
votes
1answer
445 views

MATLAB R2015b 64bit Installation Problem

I am having a problem while installing MATLAB R2015b. I have downloaded the .iso file, copied all the files in /home/user/R2015b_glnxa64. Now when I run sudo ./install in that directory, I receive ...