Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [java]

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

-1
votes
0answers
26 views

Java Licensing on Ubuntu [on hold]

Currently we are on Ubuntu 16.04 with Open JDK 8.0. How will Oracle Java licensing affect our setup and how can we resolve any issues with the Java licensing?
0
votes
0answers
10 views

How can I add -Dhttps.protocols = TLSv1.2 to maven?

Im using ubuntu 14.04 and jdk7,How can I add -Dhttps.protocols = TLSv1.2 to maven?
1
vote
1answer
48 views

how to install Netbeans 9 from ubuntu-make or umake?

context: rather than downloading IDE's and SDK's manually, where possible, I prefer to use automation such as: rVM, SDKman, snap, and umake or ubuntu make. The scope of this question is limited to ...
1
vote
0answers
18 views

In IntelliJ from snap I can't select openJDK 11 from apt-get

I am using Ubuntu 18.10 64 bit. I have installed IntelliJ IDEA 2018.3.1 via snap. I have installed openJDK 11.0.1 with apt-get. I now want to set openJDK as the SDK for IntelliJ. However when I ...
0
votes
0answers
7 views

Java and Ubuntu 18.04 not setting working directory correctly

I am currently trying to get a Java service working using Systemd process on Ubuntu 18.04 (upgrading from 14.04). One thing I have noticed is when the UsePerfData flag is enabled (which I believe it ...
0
votes
0answers
13 views

Failed to execute goal on project logging.bridge: Could not resolve dependencies for project

I'm using ubuntu 14.04, maven 3.3.9 and jdk 1.7.0_45 Problem: When i run mvn clean install i get this error: [ERROR] Failed to execute goal on project logging.bridge: Could not resolve ...
0
votes
0answers
15 views

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project checkstyle

when i run mvn clean install, i get the error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project checkstyle: Failed to clean project: ...
0
votes
1answer
38 views

Error could not find libjava.so when running java binary

I uninstalled jdk 1.8 and installed JDK 1.7 on my ubuntu but when I am trying to run java ,I am getting the following Error: sana@sana:~$ java -version Error: could not find libjava.so Error: Could ...
1
vote
0answers
19 views

How to run sikuli? Where is path?

I installed sikuli from repositories. Now, when I run sikuli-ide from terminal it says: command not found. Where is the path. There is no icon to run it from Show Application. Ubuntu 18.04
0
votes
0answers
28 views

Running java GUI program without really having a display

I need to run a .jar program on Ubuntu server. Server doesn't have a display. When I execute the program I get No X11 DISPLAY variable was set, but this program performed an operation which ...
-1
votes
1answer
34 views

Why a .desktop file doesn't see the JAVA? [closed]

Why a .desktop file doesn't see the JAVA? But if I run .sh script via terminal the script works.
3
votes
0answers
58 views

Java 8 and Java 11 on Kubuntu

The frequent updates for Java versions is causing me headaches in my software engineering course. I have some students who are doing their project in Java 11, which is not available on the school's ...
0
votes
1answer
52 views

java for Ubuntu 18.04.1 LTS [duplicate]

I need JAVA 8 to run on my recent installation of Ubuntu 18.04.1 LTS. Is Java included in Ubuntu 18.04 or do I need to install it? My computer has 2.9 GB memory, Pentium R Dual Core CPU and 314 GB ...
1
vote
1answer
38 views

How to make FreeMind render fonts smooth again?

After upgrading from Ubuntu 18.04 to 18.10, the mindmapping application FreeMind shows "rough" fonts (means, without any antialiasing) in some parts. The mindmap display still has anti-aliased fonts, ...
0
votes
2answers
108 views

problem with installation of Java JDK 11

sudo apt install openjdk-11-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct ...
0
votes
0answers
203 views

18.04 - how to create PID file in systemd unit?

I am trying to properly setup my minecraft server with systemd so that it correctly determines the main PID for the process. I have the following systemd service unit: [Unit] Description=Minecraft ...
1
vote
0answers
93 views

Can't install NetBeans 9.0 “Error occurred during initialization of boot layer” [duplicate]

~/netbeans/bin$ sh ./netbeans Error occurred during initialization of boot layer java.lang.module.FindException: Module java.xml.bind not found I've installed jdk-11.
0
votes
0answers
68 views

How to get the content of an Ubuntu window with tools or Python/Java programs?

GUI applications on Ubuntu show information in windows. How to use tools or Python/Java programs in order to get the information such as that in the red box of the following screenshot?
0
votes
0answers
25 views

How to set up JAVA_HOME when connect through ssh and using Bourne compatible Shell? [duplicate]

Java developers require the JAVA_HOME environment variable set in /usr/local/java8 in their environment when they connect through ssh and log in using a Bourne compatible Shell. As such, a readonly ...
0
votes
1answer
99 views

I received an error fetching bootstrap, SSLHandshakeException : handshake_failure running runelite on lubuntu

I received the following error whilst trying to launch a RuneLite jar on a freshly installed Lubuntu(18.10 64bit): [main] ERROR net.runelite.launcher.Launcher -error fetching bootstrap javax....
0
votes
1answer
136 views

force Oracle java 10 not java 11

the linux uprising ppa is currently forcing version 11 of java on us. sudo add-apt-repository ppa:linuxuprising/java that's nice I like modern and being up to speed, but I have an app that'll only ...
0
votes
0answers
26 views

Systemd cant find my 'start.sh' file?

so i am trying to get a minecraft server running as a service of systemd my minecraft.service has this content: [Unit] Description=Minecraft Server After=network.target [Service] WorkingDirectory=/...
0
votes
0answers
18 views

Java opengl error

If I start sweethome3d on ubuntu 18.04 I get the following error: Sweet Home 3D will exit now because of a fatal error in the 3D rendering system of you computer. Please update DirectX/OpenGL drivers ...
0
votes
1answer
44 views

How to exit(close to be specific) the terminal window through Java in Linux after the termination of the Java Program

I've made a project in Java and I run its .jar file on the Linux terminal but after the successful termination of the program my program ends but the Terminal window did not close. I tried "java.lang....
-1
votes
0answers
15 views

Using ActionListener with JComboBox to change page on selection [migrated]

Edit: I know I posted it in wrong section :( I already flagged it, no need to vote down... My original idea was to make small FileManager for specific folders. I added toolbar with some buttons that ...
0
votes
1answer
33 views

Need help with CLASSPATH I think

I'm trying to build the open source application found at: https://github.com/linklayer/cantact-app I've installed netbeans and gotten to the point that I can create a new project. I got help doing ...
0
votes
1answer
50 views

How to start the -jar process and send a request to him in bash script?

I need the launch jar process and sent request to him: java -jar parser-0.0.1-SNAPSHOT.jar curl -d '{"query":"'"$query"'", "turnOff":true}' -H "Content-Type: application/json" -X POST http://...
1
vote
0answers
38 views

Could not load hsdis-arm.so; library not loadable; PrintAssembly is disabled

I am using a beaglebone black with ubuntu bionic(armv7hf) and I'm trying to run: gradle However, I am getting the following error # # A fatal error has been detected by the Java Runtime Environment:...
0
votes
1answer
109 views

Netbeans installed via APT opens but then closes, “java.lang.NoClassDefFoundError” [duplicate]

I have a brand new Ubuntu 18.10 VM (hosted on Windows 10), built from an osboxes.org image. Aside from totally unrelated minor stuff, all I've done on this virgin OS is: sudo apt install git sudo ...
-2
votes
0answers
40 views

Eclipse (re)installation failed for an error on Ubuntu 18.04

A few days ago I installed Eclipse IDE 2018-1019. It worked, but since I was not able to add the application to my favorites (it wasn't even listed under my applications) I uninstalled it. I am now ...
0
votes
0answers
14 views

Problem in Ubuntu OS version 18.04 LTS for JAVA( version-6 ICEDTEA ) application modules sub manu is not dispaly after mouse-hoover

I have faced Mouse hover issues for Java application, after Ubuntu version 18.04 LTS up-gradation used java version ICEDTEA-6, MySql server 5.7v & My application sub-menu is not display. My ...
1
vote
0answers
34 views

Why is Java 10 installed in /usr/lib/jvm/java-11-openjdk-amd64? [duplicate]

I uninstalled all versions of java. I then installed java using sudo apt install default-jre default-jdk I then looked to see which java is installed and what version it is. Here is the result I got:...
0
votes
1answer
357 views

How to Install JavaFX with openjdk-11-jdk? [duplicate]

I am trying to build this jlink demo with Java 11. I installed the OpenJDK 11. The build process fails when it attempts to link against javafx. I think I have the javafx packages installed: > ...
0
votes
1answer
35 views

There's an eclipse folder in my trash that I can't delete. Is it okay if I try to forcefully delete it?

I'm new to Ubuntu and programming and to this forum (first post!). So I'm usually very careful about everything I do, because I'm so afraid of making a mistake and breaking something beyond repair. So ...
0
votes
0answers
27 views

sudo update-alternatives,why? [duplicate]

I came across these two commands sudo update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/bin/java sudo update-alternatives --set javac /usr/lib/jvm/java-8-openjdk-amd64/bin/javac Why ...
0
votes
0answers
27 views

Disk full but I don't install anythink

enter image description here That are new Ubuntu 18 VPS and I only put Apache2, MySQL, phpmyadmin, java and minecraft server (~4-5GB) The last action I do is purge java 11, because it cause problem ...
2
votes
1answer
343 views

JavaFX missing, Ubuntu 18.04

I have Java 8 and Ubuntu 18.04. I'm using NetBeans and when tried to make some program, it couldn't be done because JavaFX is missing. I installed Java JDK with NetBeans from Oracle's site and ...
1
vote
1answer
213 views

How to install jdk 11 GA on ubuntu 18.04?

I'm on 18.04, with default-java -> java-1.11.0-openjdk-amd64/ java -version shows: OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode) I already did a apt upgrade and ...
0
votes
0answers
12 views

Gnome Lock Curtain locking up my computer when blanking while Minecraft is active

I found this reference which is very similar to mine except, this is a fresh install. Lock screen curtain in Ubuntu 18.10 won't open So, I have password lock disabled as this is a shared computer ...
1
vote
0answers
104 views

Minecraft doesn't work on Ubuntu 18.04

I recently updated to Ubuntu 18.04 and can't get Minecraft to work. The launcher works fine using both Java 8 and Java 11 runtime, but when I click Play, one of two things happens: either the ...
0
votes
1answer
66 views

Using update-java-alternatives with openjdk 8 updates java but not javac

I am using Ubuntu 14.04.5 and have several JDKs installed. When I use update-java-alternatives to select openjdk8, this updates java but not javac, which defaults to "auto" (which in my case selects ...
0
votes
0answers
61 views

JDK error for any program that I want install

Any program that I want install from Ubuntu Software or from the terminal results in the error that is shown in the picture. enter image description here Downloading Oracle Java 8... --2018-10-31 00:...
1
vote
1answer
348 views

Openjfx 11 after 18.10 upgrade

I'm developing an application that needs JavaFX. This week I upgraded to Ubuntu 18.10 and saw that the default version of OpenJDK is 11 and therefore the OpenJFX version is also 11. The "cosmic" ...
2
votes
4answers
359 views

MediathekView does not start in Kubuntu 18.10 (cosmic)

In Kubuntu 18.10 (cosmic) the application MediathekView crashes with the following error message: java.lang.NoClassDefFoundError: com/jidesoft/utils/ThreadCheckingRepaintManager Remark: the message ...
0
votes
0answers
52 views

JAVA_HOME: COMMAND NOT FOUND

I know my question is not new but I've tried every solution I could come across but nothing worked. My system is ubuntu 18.04.1 LTS, I keep getting this everytime I opened the terminal: JAVA_HOME: ...
3
votes
0answers
41 views

Collecting Java Heap Dump via apport

We have a Java application server which does real-time audio/video processing and for that purpose, it consumes a lot of memory (25+GB of RAM). Due to some, yet unknown, mistake in our JNI, every now ...
0
votes
0answers
17 views

Error regarding the ONOS

After typing the command onos-create-app app com.foo bar 1.0-SNAPSHOT com.foo.bar -DinteractiveMode=false && cd bar && mvn clean install && onos-app localhost install! ...
0
votes
1answer
231 views

JDK11 on Ubuntu 18.04

Window user. I am new to Linux. I installed Ubuntu 18.04 on top of Virtual Toolbox. I have questions/problems wrt installing JDK 11. The Ubuntu is clean slate. Nothing is installed on this OS. From ...
0
votes
0answers
24 views

Getting Errors while installing java: E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) [duplicate]

I have tried this link to remove java 8 with all steps mentioned in ans #268. Now I am trying to re install java 10 and getting below errors E: Could not open lock file /var/lib/apt/lists/lock - ...
1
vote
1answer
136 views

Arduino and Ubuntu 18.10: java.lang.ExceptionInInitializerError

On freshly installed Ubuntu 18.10 Arduino installed from official repositories can't start with error Exception in thread "main" java.lang.ExceptionInInitializerError at processing.app....