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 on StackOverflow.com.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

How to install java 8.0.232 Ubuntu 18.0.4

I need to install the 8.0.232 openjdk version. I am using sdkman and the result of sdk list java is: Java.net | | 15.ea.25 | open | | 15.ea.25-open | ...
0
votes
1answer
17 views

Pycharm menu bar disappearing

I'm using Pycharm Community Edition 2020.1 version. Operation system is Xubuntu 20, Java version is openjdk 11.0.7 2020-04-14 I faced a strange problem today. I lost menu bar in pycharm. I searched ...
0
votes
0answers
20 views

Error occurred during initialization of boot layer java.lang.module.FindException: Module java.transaction not found

I am a biologist and new to linux. I am trying to install cytoscape_3.7.1 from thislink. I downloaded the tar file, extracted it and tried /cytoscape.sh. It gave this error Error occurred during ...
-3
votes
0answers
27 views

Insall icedtea-8-plugin on popOS [closed]

I'm trying to install icedtae-8-plugin on popOS and getting this error: user@pop-os: 17:21:31 ~/Downloads/icedtea-web-1.8$ sudo apt-get install icedtea-8-plugin Reading package lists... Done Building ...
2
votes
2answers
26 views

Is it mandatory to install Java for the correct operation of Ubuntu / Xubuntu etc?

Hi, sorry for the lack of knowledge, maybe this is a stupid question. Is it necessary to install java after installing Ubuntu for the correct operation of the system? I mean for a standard user who ...
0
votes
0answers
32 views

No coding experience, struggling to install a java based application called Edgewonk

Here is the official guide:https://www.youtube.com/watch?v=-PVKD_Dz9CM&feature=emb_title OS: Ubuntu 20.04 LTS 64bit Gnome: 3.36.1 Windowing: X11 OpenJRE is installed Thanks for any directions. ...
-2
votes
1answer
33 views

I need help with my script [closed]

OS: Ubuntu 16.04 LTS I need help with my shell script #!/bin/bash usercache="/minely/minecraft/servidores/lobbies/lobby1/usercache.json" logs="/minely/minecraft/servidores/lobbies/lobby1/logs/*.log....
0
votes
0answers
11 views

Failed to get sources problem in java ide

I am trying to compile a java code in visual studio code. In this ide the type defination show me // Failed to get sources. Instead, stub sources have been generated by the disassembler. // ...
0
votes
0answers
53 views

20.04: Can't run forge server

A problem occurred running the Server launcher.java.lang.reflect.InvocationTarge ...
1
vote
0answers
21 views

20.04: Forge Server not working

We appear to be missing one or more essential library files in Ubuntu 20.04 on a [vps][1] machine rented from [contabo][2] running 8gb ram on 4 cores. You will need to add them to your server before ...
0
votes
0answers
34 views

How to set the project sources JDK version in Netbeans?

From the console javac builds with JDK 14 fine. Using sdkman to install JDK 14 as: thufir@dur:~$ thufir@dur:~$ which java /home/thufir/.sdkman/candidates/java/current/bin/java thufir@dur:~$ thufir@...
1
vote
1answer
65 views

How do I undo a series of commands that failed to work with etpro_launch.jnlp, and restore things to its prior state?

After trying to launch Java-based Etrade Pro (etpro_launch.jnlp) on the latest version of Ubuntu (1:18.04.11.12) using the series of commands below from IcedTea-8 cannot run any jnlp application (...
0
votes
1answer
63 views

minecraft Launcher problem 20.04

Ubuntu 20.04 Openjdk 8 and 11 I am trying to run minecraft launcher 1.6.89 and i am getting this problem I already try to open it on Openjdk 11, then switch to openJdk 8 What next should I try ???
0
votes
0answers
23 views

Ubuntu 19.10 freezes when running a maven build

kernel version: 5.3.0-51-generic Ubuntu version: 19.10 Java version: Open JDK 11 Ubuntu 19.10 Laptop freezes in the middle of a maven build. The same thing happens sometimes for Gradle builds as ...
0
votes
1answer
8 views

Fixing Broken Package Installation--Install Stalling other installations

Awhile back I was trying to install a particular level of java to make an application run. Given that the support was no longer available, this is no longer viable. I have removed all of the ...
0
votes
0answers
5 views

Computer stops responding when I try to switch windows from Minecraft version 1.12 and under. How do I fix this?

A little while ago, I was having trouble launching Minecraft versions 1.12 and below. I fixed it by switching to Java 8, and now it runs. The only problem now is that any time I try to switch from the ...
0
votes
1answer
22 views

The font size of Java-based application for 4K screen

My laptop is hp spectre x360 13 and my OS is Ubuntu 18.04.4 LTS. I want to use a Java-based application called paraprof(here). Sorry, I don't use Java so I put part of its description below (don't ...
0
votes
0answers
39 views

Installing Thinkorswim on Ubuntu 20.04 lts

I've tried the solutions to install thinkorswim in other questions but nothing seems to work for me. I currently have Zulu OpenJDK 8.46. When I try to run the thinkorswim installer, nothing happens. I ...
0
votes
1answer
39 views

Getting error while installing android studio for linux 64 bit machine

I got an error while installing Android Studio and this is the error message: I used this link to install android studio https://developer.android.com/studio/install I'm getting below error message. ...
0
votes
0answers
30 views

update-alternatives error alternative path doesn't exist

I have seen many questions and answers regarding this problem, but I haven't make it out. When I tried to install another jdk whose version is 1.7.0_71 and use the command like update-alternatives --...
0
votes
0answers
19 views

Do i need all these JDK related folders?

im trying to free space from my disk and i was looking to find where my java jdk and jre are located. I found that are located in that path: /usr/lib/jvm/ . Inside here i found my jdk files ,the jre ...
0
votes
0answers
32 views

Error Minecraft: Java HotSpot(TM) 64-Bit Server VM

Since I've installed the Jave DevelopmentKit, this error shows up everytime I try to run the game Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseConcMarkSweepGC; support was removed in ...
1
vote
1answer
77 views

Ubuntu 19.10 Eoan won't play sound from my Java programs

After installing Ubuntu 19.10 recently, I've been working on projects that involve playing audio. The file type isn't overly important, wav, mp3, whatever works. However, I've been unable to get Java ...
0
votes
1answer
16 views

Can't read and change original pg_hba.conf in PostgreSQL 12

I can't to connect to aws remote ubuntu server where installed postgresql. And i want to connect from my pc to postgres on ubuntu i cant do that: Unable to connect to server: FATAL: no pg_hba.conf ...
0
votes
1answer
48 views

Process gets killed with Out of Memory - How to limit memory for the process?

I have installed Matlab 2020a in Ubuntu 20.04. When trying to run a code the Matlab program is getting killed, but it runs in another system perfectly fine. Checking resources while running shows that ...
0
votes
0answers
19 views

How to use NetBeans in Dark Mode with the Darcula Theme?

How do I install Darcula through Netbeans itself? Seemingly a matter of enabling the correct plugins through the GUI? Versus installing after manually downloading: I'd expect it to be available ...
0
votes
0answers
32 views

JetBrains Clion doesn't show up

I was using Clion installed with JetBrains ToolBox on my Ubuntu 18.04.4 LTS smoothly and nicely. However, after I click the icon it hasn't showed up recently. I've tried to investigate the problem but ...
-1
votes
0answers
19 views

How to let apps access java? [duplicate]

I have downloaded java .tar.gz file from the official website. I have extracted this archive in /etc/java directory as the official installation instruction says. Everything is alright, but I cannot ...
0
votes
0answers
18 views

Can not access port on Ubuntu in AWS after some time of application run

This is my first question on StackExchange. We developed a TCP/IP server application to accept multiple clients and we used java to develop this application. Once client connected, it will do multiple ...
0
votes
0answers
9 views

Puzzled: unable to set default java

I tried to set default java to my oracle 8 java with the following steps: $ update-alternatives --list java /usr/lib/jvm/java-8-oracle/jre/bin/java /usr/local/java/jre-9.0.4/bin/java $ update-...
0
votes
1answer
260 views

My IDE started to freezing after upgrade to kernel version 5.3.0-46

I am using Jetbrains Rider IDE for development but after kernel upgrade (from v5.3.0-45 to v5.3.0.46) it started to freezing for a few seconds in my every action like scroll up and down or when I try ...
1
vote
1answer
24 views

Where to configure Memory (xmx) for Tomcat8?

After installing Tomcat (on Ubuntu 18.04) via apt install tomcat8, where to put the Java -Xmx option to increase available memory?
3
votes
2answers
136 views

Oracle JDK 11 Install and Setting to Default (NOT openJDK)

I have installed openJDK but want to default to regular JDK 11 (not OpenJDK). Steps I have taken: 1)java -version openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-...
0
votes
0answers
49 views

Minecraft keeps crashing on launch (ubuntu 19.04)

So I recently downloaded it and tried launching it on the latest version (which is currently 1.15.2) and it worked just fine, but when trying to launch it on other versions lower than 1.13 it keeps ...
0
votes
0answers
59 views

VLC not seeing that java is installed

Running Ubuntu 20.04 Java: openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1ubuntu1-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) ERROR: Java ...
0
votes
1answer
96 views

How to install Java (not OpenJava) on Ubuntu 19.10

Please help! I have downloaded the .deb version of Java SE JDK from this site: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html This .deb file is saved in my Downloads folder. ...
0
votes
1answer
43 views

Multiple Java versions for Minecraft servers

I plan to run 2 minecraft servers: 1.15.2 Vanilla (Running fine with Java 11) 1.10.2 Modded (Not able to give the correct version to the Terminal) I have Java8 installed alongside Java11 but Im not ...
0
votes
0answers
42 views

No such file or directory: 'S.gpg-agent.browser'

I am trying to install Java 11 on Ubuntu 16.04 by following this link. When i run command :- sudo add-apt-repository ppa:linuxuprising/java I get below error: gpg: keybox '/tmp/tmp39zhtkci/...
0
votes
1answer
37 views

Java run time error reported on running an application using Contiki_OS in Linux

I got the following error on compiling and executing an application in Contiki-NG using the Virtual Machine in Linux Ubuntu 16.04.06, The simulator stops around 1.4 seconds with a message given below:...
0
votes
2answers
74 views

Trying to compile java file without success on Ubuntu (CVE-2020-2555.java) [closed]

I am trying to compile the following file https://github.com/wsfengfan/CVE-2020-2555/blob/master/supeream/CVE_2020_2555.java in my Ubuntu server but without success. I tried 'javac CVE_2020_2555.java' ...
1
vote
1answer
71 views

Problems setting up Java on Ubuntu 19.10

I'm new to all of this, so I ask for your comprehension. A couple of days ago I installed Ubuntu 19.10 on my PC and I'm having trouble setting up Java. At the beginning, I just used the sudo apt-get ...
0
votes
0answers
29 views

Failure when starting up Jira

I'm hoping you all might be able to help me out here. I have an instance of Jira 7.4.2 running on Ubuntu 18.04, I'm running into an issue where the services are not fully starting up. I've adjusted my ...
0
votes
1answer
36 views

Java JDK isn't recognized by VS Code

I installed Java via apt.get install default-jdk and verified the installation via java -version, I am using openjdk version "11.0.6" 2020-01-14 But VS code still still gives me an error message Java ...
1
vote
0answers
21 views

Can't change Java version [duplicate]

I had Java 11, then decided to change to Java 8. I uninstalled 11 and installed 8. Then have added these lines into ~/.bashrc: export JAVA_HOME="/usr/lib/jvm/java-1.8.0-openjdk-amd64" export PATH=...
0
votes
0answers
66 views

Maven can't read my JAVA_HOME correctly

I just installed maven in my Ubuntu machine (I already installed openjdk11 in my system) and set my JAVA_HOME variable correctly. Maven can't find the JDK of my installation. I am getting this error ...
0
votes
2answers
63 views

How do i update Java 11 to Java 13?

I downloaded Java and it seems that I've downloaded Java 11. How can I upgrade it to Java 13? Thanks
0
votes
1answer
137 views

Java Runtime Kubuntu 18.04 LTS to get Blu-Ray Menu in VLC

as you might have guessed from the topic, I am searching for a way to get Blu-Ray Menus working in VLC. I am running on Kubuntu 18.04 LTS 64bit. In order to play Blu-Ray discs I installed MakeMKV and ...
0
votes
0answers
24 views

Syslog file growing fast

These are the two lines constantly repeating: Apr 6 09:08:44 servername audispd: node=127.0.1.1 type=PROCTITLE msg=audit(1586164124.680:132340737): proctitle=...
0
votes
0answers
50 views

Convert dll file to so

I have a .dll file that loads in java using system load library. How to load it on Linux (my code runs on aks tomcat). Do I need to convert or just rename it to .so?
0
votes
1answer
77 views

How to install and import OpenJFX?

I have installed openjdk 11 and openjfx (using "apt get install openjfx"). Tried to use "import javafx" and "import openjfx" in the code and javac always says that there is no such package.

1
2 3 4 5
60