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
2answers
39 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 ...
6
votes
1answer
124 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
16 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....
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 ...
1
vote
1answer
29 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-...
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
49 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
39 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
47 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
34 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 ...
1
vote
2answers
55 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
1answer
46 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 ...
0
votes
2answers
74 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
1answer
21 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 ...
-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
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 ...
0
votes
1answer
85 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
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
0answers
32 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
1answer
55 views

Lots of ram uses in Ubuntu 16.04

After latest update of Ubuntu I found out that it's using lots of RAM. I have 8 GB of ram and from last week Ubuntu is using all of it. I also use Android studio and after 2 hours, my system ram is ...
0
votes
0answers
14 views

Openjdk 9 broken package cannot install inubuntu 16.04 [duplicate]

Fellows I tried to install openjdk-9 jdk via this command: sudo apt-geet install openjdk-9* And I got this error: Τα ακόλουθα πακέτα έχουν ανεπίλυτες εξαρτήσεις: Preparing to unpack .../openjdk-9-...
0
votes
0answers
34 views

Does my Ubuntu have JDK installed?

My Ubuntu is really confusing me. when I run $ java -version to check version of jdk installed it shows like I do not have java but on other hand I can see jdk in /usr/java I want to know if it is ...
0
votes
0answers
24 views

After changing to Oracle Java on Netbeans bottom of text is now cut off Ubuntu 16.04

I recently changed over to the Oracle JDK due to my interest in learning JavaFX, and after doing so upon changing the path for Netbeans and reopening, the text in the left panel and in the new project ...
1
vote
1answer
133 views

How to remove OpenJDK-9 and all related file to JDK

I know there are many similar post on here regarding issue i am having and trust me I have tried most of them and did not solve my issue. I am trying to uninstall all the JDK files installed in my ...
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
1answer
39 views

Could not extract .bin file

I can not extract .bin file on Ubuntu 16.04 LTS. Error message: root@ilgar-Ubuntu:~# '/home/ilgar/jre-6u21-linux-i586.bin' Unpacking... Checksumming... Extracting... /home/ilgar/jre-6u21-linux-i586....
0
votes
0answers
28 views

How to install Technic [duplicate]

I have downloaded Technic and installed Java. I do not know how to make it as executable since it was downloaded from a web page. I am new to Ubuntu, so what command do I use to mark it as executable?
0
votes
2answers
22 views

Package dependencies cannot be resolved when trying to install OpenJDK Java Runtime 8

I'm trying to install OpenJDK Java runtime 8 and whenever I try to it says an error message saying Package dependencies cannot be resolved in the details it says The following packages have unmet ...
-1
votes
0answers
33 views

Laptop goes black using glasfish/wildfly server

I'm having a problem with my Ubuntu laptop. Whenever I use glashfish server or wildfly server, my laptop becomes very slow and unresponsive. My Laptop have 4 GB RAM and has 2 GB graphics card, I ...
0
votes
2answers
41 views

Can't make cron open a Java program with a GUI

I made a simple "journal" program that will open a GUI, prompt for an entry and a few factors, and print this information to a file under the current date. I've written a short bit of java code that ...
3
votes
0answers
100 views

Java crashes with fatal error

I'm trying to get SweetHome3D to work on Lubuntu 16.04, but it crashes immediately after starting. I get the following error message: > sweethome3d Java 3D: implicit antialiasing enabled # # A ...
0
votes
1answer
32 views

Error in creating java project using netbeans 8.1

I am having a problem while creating java project on netbeans version 8.1 although i installed jdk and jre 7 and oracle-jdk too still not able to start java project.. but able to make cpp/php the ...
0
votes
1answer
23 views

Running java code gives Java Hotspot Server VM warning

I'm running a Ubuntu 16.04 system. I installed IntelliJ IDEA IDE to program Java but I can't seem to Run the program as I get the following error: Java HotSpot(TM) 64-Bit Server VM warning: ignoring ...
0
votes
0answers
37 views

how to install php7-java bridge in ubuntu

When i give php -v in terminal i am getting this result mukund@mukund-ThinkPad-Edge-E431:/var/www$ php -v PHP 7.0.6-9+donate.sury.org~trusty+2 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group ...
0
votes
1answer
21 views

How to fix OutofMemoryError: Java heap space on Lubuntu? [duplicate]

I keep getting this error: java.lang.OutOfMemoryError: Java heap space Is there a way to fix this, I never had this problem running the same thing on Ubuntu but once I got Lubuntu this keeps ...
1
vote
2answers
58 views

How can i install JCE?

How can i install Java Cryptography Extension (JCE)Unlimited Strength Jurisdiction Policy Files in Ubuntu 16.04. Please tell me also that how can i check that JCE is installed in my system or not?
1
vote
1answer
36 views

How do I run a jar so that I can access it on another terminal session later?

I know the answer to this question may be screens, but it doesn't seem to be working for me. I've tried creating a new screen session and running it there, then switching back to my main one. However, ...
0
votes
0answers
69 views

The Eclipse executable launcher was unable to locate its companion shared library

Upgraded from 14.04 LTS to 16.04 LTS but my Eclipse is not getting launched from the launcher on the side vertical bar. Giving me this error: The Eclipse executable launcher was unable to locate its ...
-1
votes
1answer
96 views

Ubuntu 16.04 32 bit. Problems with PyCharm Community

I've got a same problem as a guy here. But I have 32 bit system. I've tried to fix it as the top answer advices, but instead of working pycharm I catch much more problems, which are wroten at this ...
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
0answers
26 views

Custom script not working as expected in ubuntu [duplicate]

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
29 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. ...
0
votes
0answers
42 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
1answer
78 views

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

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 ...