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
0answers
19 views

Is the GTK3/SWT bug fixed with the Eclipse Neon release?

I made a fresh install of Ubuntu 16.04 and I continued to install Eclipse Mars 4.2 as well. But every time I create a new project Eclipse hangs. I found out that there is a bug reported for this at ...
0
votes
0answers
15 views

Custom script not working as expected in ubuntu

I wrote a java application, want to register it as a service, so wrote a bash script in /etc/init.d/. Here is the script: #!/bin/sh # # chkconfig: 345 50 83 # ### BEGIN INIT INFO # Short ...
0
votes
0answers
12 views

Java Swing Application Ubuntu 14.0.4(x11 problem)

I am using java swing application on ubuntu 14.0.4 32/64 bit os.i am using servlet listener to trigger my swing application.I have configured tomcat as service in ubuntu to start it automatically. ...
-6
votes
0answers
24 views

Best compiler for coding//// [on hold]

what is the best compiler to run mid level programming languages???
0
votes
1answer
25 views

VLC suddenly keeps popping up with JAVA logo and ASCii colour art

I'm using Ubuntu Mate 16.04 LTS. I've installed it just yesterday and updated it immediately. Today I start my system up and VLC keeps popping up out of nowhere. It shows in a small window the JAVA ...
-1
votes
1answer
219 views

Since ubuntu 16.04 javaws no longer run app while previously run fine on ubuntu 15.10

Since ubuntu 16.04, I can't launch java web start app. On ubuntu 15.10 it was Okay crash@Dell-Latitude-E6520:~$ javaws Téléchargements/asdm.jnlp Codebase matches codebase manifest attribute, and ...
0
votes
1answer
39 views

Error | Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy? [on hold]

Ubuntu Server 16.04 64 bit running on an OVH VPS Java JRE 8 u91 64 bit I'm using an OVH VPS server to run a BungeeCord Spigot Minecraft server network. When I run the BungeeCord.jar file, it starts ...
42
votes
3answers
209k views

How to install the Java plugin for Firefox?

I am trying to install Java and plugins for Firefox. I installed both the JDK and JRE. When I try with the sudo update-alternatives --config java command it shows only one choice available. Plugins ...
0
votes
0answers
12 views

Error: Could not create the Java Virtual Machine

I downloaded JDK from oracle website, extracted to /usr/lib/jvm/ and ran following commands sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0_65/bin/java" 1 sudo ...
0
votes
3answers
33 views

How to start building desktop applications for Ubuntu Desktop? [duplicate]

I am willing to start building some application for Ubuntu distribution of Linux. I am a Java developer and mostly deal with enterprise systems and some small website with PHP in my free time. I am ...
0
votes
0answers
17 views

How to fix my 'java' problem in Ubuntu 14.04 LTS?

I use Ubuntu 14.04 LTS. It all started when my eclipse-ide layout started to show some strange lines from now and then. In fact it started earlier when I tried to reconfigure java so it would run ...
0
votes
0answers
6 views

How to setup selendroid in ubuntu 14.04? Cannot execute selendroid script. ANDROID_HOME not found error shown in eclipse console

I'm trying to set up selendroid in ubuntu for mobile app testing purposes. First I installed JAVA from ubuntu software center. Then I installed android SDK and I've set path in .bashrc as follows: ...
1
vote
1answer
14 views

Black flashes on Minecraft

I recently installed ubuntu 14.04 on my laptop and wanted to install minecraft. It started perfectly fine (No black screens, no crashes) but after a few seconds, my whole screen goes black for 1 ...
2
votes
2answers
19 views

Netbeans - Starting of Tomcat failed

I am trying to run Tomcat 7 from Netbeans 8.1 but getting the following output on the server console. java.util.logging.ErrorManager: 4: Unable to create [/usr/share/tomcat7/logs] ...
0
votes
0answers
12 views

binary file cannot link to swt

I want to install TickWrite on my ubuntu 14. machine (64). When I run TickWrite binary file, I receive the following error at the end of the installation: TickWrite7 has been successfully installed ...
0
votes
0answers
11 views

Java based application is really slow

I am using Ubuntu 16.04. I have a big problem with java based application. When I use java based application, the application always become really slow. The application I used are Cytoscape and ...
143
votes
11answers
325k views

How to install OpenJDK 8 on 14.04 LTS?

As of 2016-04-23 Ubuntu 16.04 has ben released, with both OpenJDK 8 and 9 in the official repositories. I would recommend upgrading to that. As of 2016-01-11 OpenJDK 8 is still not available in an ...
0
votes
0answers
6 views

Eclipse and Spring Tool Suit (STS) hangs all the time in ubuntu mate

I find this problem with many of the linux and eclipse users who are facing this problem. When I use any other application like chrome, vlc or gimp, ubuntu mate 15.10 works fine. But when I run ...
0
votes
0answers
26 views

How can I get a project from Ubuntu? [duplicate]

I'm a Computer Science undergraduate student. I'm looking for a opensource project for our 3rd year course Rapid Application Development(RAD). I am good in Python and Java languages. Where I can get a ...
0
votes
1answer
25 views

Launching proper version of Eclipse IDE via i3wm

So currently I use the gnome desktop and somehow I ended up with 2 versions of eclipse. If I recall correctly, I installed one via the Ubuntu software center and the other from the eclipse website. ...
0
votes
0answers
18 views

Upgrading to Newest Java 8 Update whilte using Update-Alternatives

I have two java versions installed on my PC (ubuntu 14.04): java 7 and java 8: felipe@felipe-XPS-8300:~$ sudo update-alternatives --list java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java ...
12
votes
3answers
21k views

How can I uninstall oracle java 8 and install oracle java 7 instead with webupd8 installer?

I installed oracle java 8 by typing in terminal: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer but now I want to uninstall oracle ...
0
votes
1answer
74 views

Juniper on 64bit 16.04?

I am having the exact problem described at this question, but in 64bit 16.04 LTS instead. That is, when I try to run the Juniper VPN from my company web site, I get the successive messages "Please ...
1
vote
1answer
4k views

How to get SHA1 certificate fingerprint for Google Map API key

I need SHA1 certificate fingerprint to get Google Map API key but when I enter keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android in ...
0
votes
2answers
41 views

Java/minecraft problems

so i'm trying to install minecraft on Ubuntu 16.04 and i installed minecraft.jar cant run it it is excutive so it should run but it dos'nt java's file is there but it cant run either any suggestions?
0
votes
0answers
21 views

Eclipse won't start from docky nor launcher

Eclipse won't start from docky nor launcher, even though I can double click it to start in nautilus. It told me: failed to change to directory '/eclipse' ( No such file or directory) I didn't ...
0
votes
0answers
19 views

Getting this error, while running java program

Exception in thread "main" java.lang.UnsupportedClassVersionError: Hello : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at ...
0
votes
1answer
2k views

OpenJDK Ubuntu 16.04 [closed]

I'm trying to install openjdk on Ubuntu 16.04 Beta 2. After the upgrade from beta 1 to beta 2, openjdk 8 was installed and openjdk 7 was removed. When trying to install openjdk 7 I get the following ...
2
votes
3answers
4k views

Run a program with optirun by default (Bumblebee)

I'm trying to run Minecraft on my GeForce card (with Optimus, bumblebee is installed), but without having to type the command in the console every time I want to open it. How can I configure ...
-1
votes
0answers
15 views

Java HotSpot(TM) Client VM warning in linux VM

I am new to Ubuntu 14.I need some one help on the below issue. I am installing MFP domain on Vertual machine using rpasInstall.sh script, but it is failing with the below error. Java HotSpot(TM) ...
0
votes
0answers
11 views

How to test file upload spring web service using restful client?

I have a Restful web service that accepts large text files as input and parses them. How to test the web service using rest client like soap ui?
22
votes
4answers
96k views

Setup and install IntelliJ with JDK

Is there any scripts for downloading and installing IntelliJ with JavaJDK or OpenJDK? I don't know how I did it before using Ubuntu 12.10 but I'm now on a fresh 13.04 install and I have been looking ...
3
votes
0answers
13 views

Ubuntu : UDP message generation / receive low rate issue

I have two simple java programs to generate and receive UDP messages using DatagramSocket . Generator String message = "MyMessage"; byte[] data = (message).getBytes(); DatagramPacket packet = new ...
5
votes
1answer
2k views

Ubuntu 16.04 and openjdk 7

I would like to upgrade my main system to 16.04, but I work on projects that require OpenJDK 7. Apparently it is not available from a trivial apt-get install openjdk-7-jdk. Only versions 8 and 9 are ...
0
votes
1answer
576 views

Installing JDK.rpm file using alien

I'm trying to install JDK on my Ubuntu virtual machine to use it for Netbeans but for some reason it won't work. I downloaded JDK from oracle's site, the .rpm file. I read online that I should use ...
0
votes
1answer
68 views

how to run “gradle run” through xvfb?

What are the equivalent directions for Ubuntu? On your CentOS 6.3 host Follow these steps to set up a CentOS 6.3 host to run headless Selenium tests with Firefox. sudo yum -y install ...
1
vote
0answers
26 views

Java Applet on Ubuntu Web Server

I have an java applet to sign documents digitally: http://www.pki.sanluis.gov.ar/PkiAsp/Paginas/Pagina.asp?PaginaId=54 I have a middleware to do this from a smart card. I can't export the private key ...
0
votes
0answers
62 views

Eclipse hangs when creating project on Ubuntu (Vbox)

I'm running Ubuntu 16.04 on Virtual Box. It's the 64 bit version, and I have allocated 1024 mb of ram. My problem is when creating a new Java Project in eclipse, it just hangs and takes forever. I ...
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 ...
0
votes
1answer
81 views

eclipse freezes in ubntu 16.04

I'm running ubuntu 16.04 on a dell xps 13, and I had java eclipse running ok. I did a mercurial commit from the command line, and I had some conflicts related to the eclipse metadata files. I managed ...
2
votes
3answers
56 views

Azureus runs fine on latest java but its dependency check asks for dated version of JRE. How to tell Ubuntu to stop naggin me for “unmet dependency”?

So I force installed Vuze (and its dependency Azureus) via apt-get, and it is working fine on default-jre. Even though the default-jre works as a dependency for Azureus (at least for my use-case ...
0
votes
1answer
202 views

How do i use “Can YOU Run it”

I have used ubuntu for quiet some time now, but im having issues with this program i want to use. I recently build a new computer, and wanted to use ubuntu (because its great), the problem is, i want ...
-1
votes
2answers
33 views

How to find path to java?

I needed to update my openJDK to 8 version... And i was download new one this way sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo ...
0
votes
0answers
207 views

java not found when running Ubuntu 16.04 desktop snappy app

When running this script from within a Ubuntu 16.04 desktop snappy application I get the message /usr/bin/java not found. Also, the application does not create the files and folders in my Documents ...
0
votes
0answers
37 views

Ugly font rendering with Android Studio on Java8

I am using Oracle Java 8 and Android Studio, but it is difficult to work with it because of the ugly font rendering. Here are some screen-shots. I am using Ubuntu 16.04 LTS 64 bit, Android Studio ...
1
vote
1answer
76 views

Is it necessary fix eclipse.desktop to use Eclipse launcher in Ubuntu 16.04?

I've been trying to use Eclipse in Ubuntu 16.04. I have read that, in order for Eclipse to work properly, it requires the following code to be inserted in eclipse.ini: --launcher.GTK_version 2 It ...
3
votes
3answers
13k views

How to uninstall a firefox plugin?

I was trying to play minecraft in the browser, and I got asked to install a plugin called "IcedTea-Web Plugin (using IcedTea-Web 1.2 (1.2-2ubuntu1))" (something related to Java 6), which I can see now ...
0
votes
1answer
33 views

Minecraft server on Ubuntu 16 not saving worlds on shutdown

My kids and I are trying to determine the issue with Minecraft server not saving worlds on reboot. If we log off and log back in, any progress is still present, but if I reboot the machine, the world ...
2
votes
4answers
5k views

Missing tools.jar (Android Studio)

The command $ ~/android-studio/bin/studio.sh says 'tools.jar' seems to be not in Android Studio classpath. Please ensure JAVA_HOME points to JDK rather than JRE. I have searched for the solution ...
5
votes
1answer
77 views

Developing a Snap package for a project using Java/Swing

OK, so I can barely Google anything with the terms "Snap", "Snappy", or "Snapd" with Java and Swing. But I would like to know if it is possible to run a Java Swing application using Snap. When I ...