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
15 views

Maven install :update-alternatives: error

While installing maven in Ubuntu 18.04 in with command sudo apt install maven i am getting error like update-alternatives: error: alternative link /usr/bin/mvn is already managed by maven dpkg: error ...
0
votes
1answer
28 views

When i try to install OpenJDK 11, OpenJDK 10 got installed

I used the below apt command to install OpenJDK 11 sudo apt install openjdk-11-jdk But, Openjdk10 got installed, result of java --version openjdk 10.0.1 2018-04-17 OpenJDK Runtime Environment (build ...
0
votes
0answers
24 views

How to add the JDBC driver to BaseX for querying MySQL?

Where can I find the lib directory for BaseX as installed via apt? nicholas $ nicholas $ dpkg -L basex | grep -i lib nicholas $ nicholas $ dpkg -L basex /. /usr /usr/bin /usr/bin/basex /usr/bin/...
0
votes
0answers
20 views

Could not find driver: com.mysql.jdbc.Driver

I think I'm missing a JDBC driver, how do I install the connector? nicholas $ nicholas $ apt-cache search mysql | grep connector libreoffice-mysql-connector - transitional package for MariaDB/MySQL ...
0
votes
0answers
21 views

Java 8 for Minecraft Forge Error (Debian 10) [closed]

I tried to install Java 8 in addition to Java 11 on my VPS. Apparently that was only moderately successful. It is displayed under "java -version". And also with "sudo update-...
-3
votes
0answers
32 views

JAVA_PATH vanishes once I close the terminal [duplicate]

I set JAVA_HOME for my system using a tutorial and completed every step. During the process the command echo JAVA_HOME showed /usr/lib/jvm/java-14-openjdk-amd64 as a result. But once I opened a new ...
0
votes
1answer
66 views

16.04 LTS Xenial looking into focal repository

Im, trying to build a container and need to install java8. all instructions are in the Dockerfile. System is 16.04.07 LTS. Error shows it's trying to download for focal release and I just don't get ...
0
votes
0answers
44 views

Is there a way to install OpenJDK 15 in Ubuntu bionic?

I would like to use newest Java (15) and I can't find it in ubuntu bionic repositories. Is there a ppa where I could get it?
1
vote
0answers
25 views

Failed to open Cisco WebEx meeting using Java Web Start

To enter a college class I need to execute a JNPL file using the command line (because audio doesn't work from Chrome or Firefox): user@computer:~$ sudo javaws '/home/user/Downloads/CiscoWebExServlet' ...
0
votes
0answers
34 views

How to use java to start a snap application

I am converting my Windows java8 program to also run on Ubuntu 20.04 and I need to now make my ubuntu java8 program start the chrome browser and open a specific url (or multiple urls). The java ...
0
votes
1answer
25 views

Man page for jdk commands like jshell, jlink

On ubuntu, I have installed java doc via command: sudo apt install openjdk-11-doc But, still can't find any doc via man jlink. Does that means javadoc doesn't include man page for jlink or I didn't ...
0
votes
0answers
35 views

following packages have unmet dependencies : java related

sudo apt install openjdk-8-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ...
0
votes
1answer
126 views

Should I install Ubuntu 18.04 instead of 20.04 to be able to use Android Studio and resolve similar compatibility issues?

So I've been meaning to do some Android Development so I wanted to install Android Studio, and a prerequisite for that is to have installed Oracle JDK, but they have no releases for Focal Fossa. So, ...
1
vote
0answers
20 views

How to install a java enabled browser in ubuntu 16+?

I want to run an Indian govt website and submit an application by attaching a digital signature using a USB crypto token I posses. The ideal requirement of the site is 32bit java 7 enabled browser. I ...
0
votes
0answers
32 views

downloaded intellij from ubuntu software it is working fine but when I type java -version on terminal the command java is not recognied pops up

My intellij program works fine and runs programs as well but when I tried to check versions from terminal the terminal did not recognize "java" in "java -version" command. Also ...
0
votes
1answer
47 views

Problem installing java in Ubuntu 20

i tried to install java using the following : apt install default-jre but when i want to see the version using : java -version it says : apt install default-jre # version 2:1.11-72, ...
0
votes
0answers
26 views

Problem with Java instalation

I am trying to install Cytoscape on my Ubuntu machine and I get this error: No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 11.0 and at most 12....
1
vote
0answers
24 views

How can I enable JRE on Firefox in Ubuntu 18.04? [duplicate]

I'd like to run Supermicro IPMI console which requires JRE but each time I get this error in Firefox: You need the latest Java(TM) Runtime Environment. Would you like to update now? I've downloaded ...
0
votes
0answers
17 views

Install Java 6 on Ubuntu 18.04

I need to install Java 6 on Ubuntu. I downloaded jdk-6u45-linux-x64.bin and extracted it here. dell@dell-Precision-M6400:/usr/lib/jvm$ ls java-1.11.0-openjdk-amd64 java-1.8.0-openjdk-amd64 java-8-...
-1
votes
3answers
65 views

Why does Ubuntu use Python despite the fact that Python is an interpreted language? [closed]

Interpreted languages like Python are generally slower than compared to C/C++ or Java. Are there any scientific reasons for Ubuntu to opt Python instead of other programming languages like C/C++ or ...
0
votes
0answers
126 views

Why did Java get uninstalled after I performed an Ubuntu update?

I was running Ubuntu 20.04.1 LTS and it had a Java Running Environment (JRE) because I was using PyCharm, which requires that. I then authorized a system update and after rebooting Java is no longer ...
0
votes
0answers
590 views

How to customize the start up icon of Nvidia Visual Profiler

According to this Nvidia Visual Profiler (nvvp) documentation, Java Runtime Environment (JRE) 1.8 must be available on the local system for it to work. The installation of OpenJRE can be done via: ...
0
votes
0answers
18 views

How can I fix “java.lang.UnsatisfiedLinkError: Could not load SWT library.”?

I was using WindowBuilder in Eclipse, and it works perfectly well except that when I create a JTable or JSpinner and try to click on "model" in Properties I suddenly have an error window ...
0
votes
0answers
24 views

Install Java in wine not working

I need to install Java 7 or higher in wine in order to make a Windows app (Ganttproject) work in my Ubuntu 20.04. However, when I download the JRE and the JDK and then run wine on them : wine ...
0
votes
0answers
18 views

Access port through subdomain

I have an Ubuntu VPS server where a Java application is running and available on port 8080. I also registered a domain, and I'd like to access the 8080 port via a subdomain of this domain. Let me give ...
0
votes
1answer
118 views

Minecraft 1.8.9 Won't launch even when changed Java version to 8

I recently switched to Ubuntu, and I'm new to Linux. I want to play Minecraft on version 1.8.9 on my Ubuntu machine. I heard that you need to set your java to version 8, so I did that, and now the ...
0
votes
0answers
38 views

how to install older version of Android studio 2.1.2 on Ubuntu

how to install older version of Android studio 2.1.2 on Ubuntu ? what is the way to install older version of android version 2.1.2 ?
0
votes
1answer
39 views

How to load java.util.logging.config.file?

I have a custom log.properties file which i am trying to load. When i run the command java -Djava.util.logging.config.file=/opt/orientdb/config/log.properties, it doesn't do anything rather it spits ...
0
votes
0answers
93 views

Downgrade openJDK to install Bamboo on Ubuntu 18 LTS

I am trying to install bamboo server on ubuntu 18 lts machine. Java openJDK 1.8 is required. I installed it and by running: $ java -version I got: openjdk version "1.8.0_265" OpenJDK ...
0
votes
0answers
53 views

Java Selenium chromedriver error

Chromedriver is located at the same place as this file. import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public WebDriver getDriver(final String browser) { ...
0
votes
0answers
38 views

Minecraft hamachi personal server connection timed out

I'm trying to create a Minecraft server(both minecraft and server are 1.16.2 java edition) on ubuntu 18.04, I can successfully create the server using hamachi(with haguichi for GUI), I can get people ...
0
votes
0answers
25 views

Java.lang problem occurred when compiling Android source code in ubuntu 20.04.1, reinstallation can not solve it

I am trying to build this Android source code on Ubuntu 20.04 for Lineage OS on a Huawei phone for HWJMM (Honor 6C Pro or Honor V9 Play). I now have the Android source code and manufacturer binary ...
0
votes
0answers
61 views

minecraft bedrock edition on ubuntu 20.04

I've been looking at getting Minecraft Bedrock Edition on my ubuntu machine, since the one on Windows won't let me down grade from the beta since I was using it for RTX, but thats a different story. ...
-1
votes
1answer
51 views

Unable to download java or uninstall it (version 14.02) on ubuntu 18.04 [duplicate]

Please help me!! I am stuck for the past 3 days and being unable to install java on my ubuntu 18.04; nothing is working out :-(; as I have very little information though I tried like oracle.com>...
-1
votes
2answers
43 views

installing old version of java

I need to install java 1.0.8_45 for some program I'm using (cubemx) my closest attempt was installing from here but when I tried to install it show me code error 1627 if it matter i have succeed to ...
0
votes
0answers
42 views

Installing J2SE plugin for Firefox Ubuntu 20.04

I am trying to open Oracle Business suite 11i in my Ubuntu, which requires J2SE Java plugin which I am not able to install in Firefox. Tried so many things. Was able to download the plugin. But still ...
0
votes
1answer
67 views

Install Eclipse IDE on UbuntuStudio [duplicate]

I am considering a purchase where UbuntuStudio is pre-installed on a machine. But, before I purchase the laptop, I am curious if packages such as Eclipse or Netbeans install on UbuntuStudio the same ...
0
votes
0answers
34 views

Minecraft 1.12.2 and under won't launch, as well as forge

I've literally tried it on 3 distros but it won't launch. I reinstalled Ubuntu, installed java 8 with this cmd sudo apt install openjdk-8-jre, and installed Minecraft from official site. Everything ...
0
votes
0answers
33 views

I am unable to turn off my airplanemode it is saying use hardware switch to turn off

sudo rfkill list all Then it is showing 0 : hp-wifi: Wireless LAN soft blocked: no Hard blocked:yes 1 : Wireless LAN soft blocked: no Hard blocked:yes
0
votes
0answers
13 views

What is the highest JDK which is compatible with Netbeans 12? [duplicate]

running java -version shows: openjdk version "14.0.2" 2020-07-14 OpenJDK Runtime Environment Zulu14.29+23-CA (build 14.0.2+12) OpenJDK 64-Bit Server VM Zulu14.29+23-CA (build 14.0.2+12, ...
0
votes
0answers
52 views

When trying to install java it says digimend-dkms

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/digimend-dkms.0.crash' Error! Bad return status for module build on kernel: 5.4.0-26-generic (x86_64) Consult /var/lib/dkms/digimend/9/...
1
vote
2answers
137 views

Installing Java on Ubuntu 20.04

I am very new to Ubuntu and trying to install java on Ubuntu 20.04. I follow the instructions on https://tecadmin.net/install-java-ubuntu-20-04/ and at about 2% progress the license agreement pops up ...
0
votes
1answer
42 views

Can I install Java on a live persistence Ubuntu? [duplicate]

I wanted to know can I install Java and other software on persistence Ubuntu (USB drive). How can we do that because when I tried sudo apt install default-jdk I got a msg related to dpkg and something ...
0
votes
0answers
31 views

Windows user here on Ubuntu. How do I install the java JRE and NOT the JDK so I can run minecraft? [duplicate]

I've looked in a lot of places including the java website and oracle website but everyone is showing how to install the jdk and not the jre which I need. Java 8 jre specifically. And I'd like to do ...
0
votes
0answers
41 views

How to change Java Version for Apache Tomcat 9

So I am running apache tomcat 9, when I check the /manager page it shows the jvm version as 11.0.8+10-post-Ubuntu-0ubuntu118.04.1. I want to use Java version 8, how would I change this? I have read ...
0
votes
1answer
44 views

Rice and Java.io.IOException: Unexpected status code: 404 Help appreciated

I tried to use ./synthesize.sh for Bayou on Ubuntu. Help is very much appreciated, thank you! Ubuntu Version = 18.04 Installations = TensorFlow, sci-kit learn, flask, SDK java, and python 3 virtual-...
0
votes
1answer
40 views

I am not able to open a .jar file in Ubuntu 18.04.4

I am new to Linux and want some help regarding Java apps. I have some .jar files which I have imported from another mobile device. I have Installed default-jre package from apt. When I launch java -...
1
vote
2answers
556 views

How to get Scilab 6.1.0 working on Ubuntu 20.04 LTS?

I have installed clean Ubuntu MATE 20.04 LTS and installed Scilab from repository here with sudo apt-get update sudo apt-get install scilab After installation I tried to launch it from GUI (...
0
votes
0answers
45 views

Which java to use for successfully running minecraft?

I can run minecraft perfectly fine on versions 1.12 and above, but as soon as I use older versions of the game, such as 1.8.9 I get prompted with "Unable to access address of buffer" ...
0
votes
0answers
49 views

i cant install tzdata-java_2019a on ubuntu 20.04

When I want to install tzdata-java (version 2019a, release 0ubuntu0.14.04), the system tells me that this package depends on tzdata 2019a, but the system has already installed tzdata 2020a. If I ...

1
2 3 4 5
61