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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
13 views

Installing Minecraft on a 32-bit Xubuntu 18.04 LTS installation

Thanks in advance to anybody who is able to shine some light on this issue of mine. I have recently Xubuntu 18.04 LTS on my Dell Optiplex 755, and I've been having difficulty installing the Minecraft ...
0
votes
0answers
24 views

Failing to run Java with the error “/usr/bin/java: No such file or directory”

I just installed JDK in Ubuntu. When I want to use the java command, I get this error: /usr/bin/java: No such file or directory but I declare the java home using update-alternatives: update-...
1
vote
1answer
47 views

Can't open logisim in Lubuntu

I tried it and the errors are: Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper at java.desktop/java.awt.Toolkit.newAWTError(Toolkit....
0
votes
0answers
26 views

Tomcat 7 as a service under systemctl in 18.04 -configuration?[SOLVED]

I have been revisiting and checking old projects since upgrading to 18.04. I have trouble as described in this question which has been erroneously closed as a duplicate. I believe the problem is ...
0
votes
1answer
32 views

SQuirreL won't launch

I'm trying to run SQuirreL on Ubuntu 18.04 but I'm not able to make it launch. When I run ~/squirrel-sql-3.8.1/squirrel-sql.sh Nothing happens. I don't understand the sh script very well. I ...
1
vote
1answer
27 views

How to install MyOpenLab on ubuntu 18.04

I have been trying to install MyOpenLab on ubuntu 18.04. It is freeware alternative to LabView. I found that it required java to run so I installed the java through the terminal. Now when I try to ...
3
votes
1answer
45 views

How do I set up Codename One in Eclipse?

I want to use Codename One Java software development tools on Ubuntu with Eclipse. I tried to install Codename One with OpenJDK and Oracle JDK, but it didn't work.
0
votes
0answers
14 views

OpenJDK Eclipse compatibility

I am using Eclipse Photon since a few days. I have OpenJDK 8 installed on my machine. For developing GUI applications in Java, I installed WindowBuilder package in Eclipse. Whenever I use ...
6
votes
2answers
686 views

Applications requiring JRE not starting

When I first started my computer this morning, I started getting successive System program problem detected alerts. This is after a software update last night. Now my IDEs (Intellij, Android Studio) ...
2
votes
1answer
182 views

14.04 updates broke Java

Yesterday (8/15/2018) the regular Ubuntu updates on 14.04 LTS caused Java to stop working on two different VirtualBox machines. Netbeans 8.2, reliable until now, can no longer start up, and after a ...
-1
votes
0answers
33 views

java.util.logger - Cannot create file in Ubuntu [closed]

I'm creating a Java Logger and trying to write to it in the console and into a file. The console part is working fine, but the file never gets created. I want the file to exist in my target folder. ...
0
votes
1answer
21 views

Troubleshoot regarding Oracle java installation

I am beginning to code in java, downloaded the binary from here. Then followed the instructions from here, however I was met with some errors regarding java-package and I ran into this which solved my ...
-3
votes
0answers
16 views

unable to lock adminstration directory, couldnt get lock. how to fix my problum? [duplicate]

forprogramming@forprogramming-R570-K-AR83L:~$ sudo apt install default-jre [sudo] password for forprogramming: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E:...
0
votes
1answer
53 views

Passing a JAR to the Java runtime for Burpsuite

I want to start BurpSuite, not by double-clicking on the application to get it working but I want to start from the terminal by passing a JAR to the Java runtime.I use Java 8 and Burp Suite community ...
0
votes
2answers
28 views

PDFTK library missing Apache Common Lib

I set up pdftk on Ubuntu 18.04 using the following instructions: sudo add-apt-repository ppa:malteworld/ppa sudo apt update sudo apt install pdftk taken from a previously asked Askubuntu question. I ...
0
votes
0answers
18 views

How to copy and highlight top and bottom text of find word during search on webpage

for example i did search for word " algorithms " on a web page - i want to copy up and down words through a extension , on example give below i want to highlight , words "developed" and "find a ...
0
votes
0answers
45 views

Java IDEs not working in Ubuntu 18.04

I am not able to run or create any Java projects in Ubuntu 18.04 using Eclipse, NetBeans or IntelliJ Idea. Results of which java : Oracle java SE Results of java -version : java 8
1
vote
0answers
16 views

Glassfish - MongoDB - Too many open files

I am having a backend deployment running on a glassfish server, the frontend of my application sends REST request when it needs some data. Also the backend is connected to a mongo database: ...
0
votes
0answers
7 views

javapackager - how to make a .deb add a command to /usr/bin

I am using javapackager to make a .deb installer for a java application. I was able to successfully create and install the .deb, but I can only run it with /opt/myApp/myApp. I would like to be able ...
1
vote
1answer
48 views

Install java Runtime Environment

When running the --help switch, I got this. andy7_~$ /usr/lib/libreoffice/program/swriter javaldx: Could not find a Java Runtime Environment! Please ensure that a JVM and the package ...
1
vote
0answers
37 views

Eclipse installer error, looks like it is trying to use Java 1.8

I just followed the Eclipse websites links to download the latest version, and after running from the terminal $ ./eclipse-inst It goes through the installation process but returns JVM terminated....
0
votes
0answers
9 views

Maven build failed for Oozie 4.3.0

I want to use Oozie for automating Spark Jobs. I'm trying to build Oozie using Maven 3.3.9. I have modified pom.xml file for hadoop 2.7.1, java 1.7, hbase 1.2.0, oozie 4.3.0, I got the error described ...
0
votes
1answer
35 views

Running Opendaylight from Ubuntu

In order to build SDN testbed, I have installed VirtualBox to run Mininet and OpenDayLight controller. Hence, to install and run OpenDayLight, I have followed this tutorial. No problem occuured until ...
0
votes
0answers
19 views

large amount of buffer_head problem

After a program for bioinformatics (written in java) is ended, memory leak occurs. These are a flow of the program (step 1 to 5 are repeated per each candidate sequence with 150 java threads): 0. ...
2
votes
1answer
114 views

Java Issue with Minecraft Realms on Ubuntu 18.04.1

So when I first installed Ubuntu I downloaded Minecraft from the official website as a tar.gz. However when I started the launcher it gave me SSL errors, even though there was no problems with my ...
0
votes
2answers
199 views

How can I install a specific version of OpenJDK? (1.8.0_131)

All of the installation instructions reference using apt-get to install the default-jre package, which is fine, but as of this writing that installs OpenJDK Java 1.8.0_171. One of our applications ...
1
vote
0answers
17 views

Mouse button gets locked in java applications

I'm running a relatively fresh installation of Ubuntu 18.04 on a new laptop. I have a couple of applications that I use that are written in Java -- specifically Aqua Data Studio and JetBrains Data ...
0
votes
0answers
6 views

Apply a java function to a dockerized software

I want to let a java function able to apply some action to software dockerized in a docker container. How can i establish the needed connection between the java function and the container.
0
votes
2answers
50 views

java didn't launch

I just deleted the 10 version folder of openjdk. rm -R jvm I re-downloaded then jdk 8 , recreated the folder jvm and extracted the jdk on it. now my java-home points to /usr/lib/jvm/jdk1.8.0_181/...
0
votes
0answers
112 views

Using Technic Launcher or MultiMC on Ubuntu 18.04

I'm trying to get Sky Factory 3 working on my new install of Ubuntu 18.04, either through the Technic Launcher, or whatever other way will work. Looking at the crash logs, what keeps coming up are ...
-1
votes
0answers
163 views

Shockwave problems

I have an error on two of my daily puzzles. I know Foxfire has difficulty with Java and I am wondering if there is a way around it. Below is the error I got: HTTP Status 500 - Request processing ...
0
votes
0answers
60 views

Ubuntu 16, Java -jar: Could not find or load main class pattypan.Main

Just spend hours searching and I found a lot of questions related to this, but this is more simple. All the other questions I found are developers asking what to do when they get this error. "Error: ...
1
vote
0answers
18 views

Deiconify an application does not update its content with Mutter and X11

I have a java graphic application using Swing library. If the application is minimized and the graphic content changes (color or whatever), I should see the modification when restoring the window. ...
0
votes
1answer
74 views

Every time try to install any software shows these Errors:

Errors: Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: aptitude-common libcwidget3v5 Suggested ...
0
votes
0answers
31 views

Where JAVA_HOME is set? [duplicate]

I need to change my java_home path , when i tip echo $JAVA_HOME i get: /usr/lib/jvm/java-7-openjdk-amd64 however when i went to /etc/environment i only find the path is set : PATH="/usr/local/...
1
vote
0answers
72 views

minecraft client gets timeout when cpu-usage hits 100%

I installed Minecraft on XUbuntu 18.04. I play on a server of a friend to which I connected directly via ip-adress. I am there for a few seconds, then I get an error and lose connection; usually it'...
0
votes
0answers
160 views

JavaFX missing in KUbuntu 18.04

I have have Kubuntu 18.04 installed and I use the default jdk which says version 11 in the repositories but 10 when using java -version command. However, I cannot run JavaFX application because it's ...
0
votes
1answer
111 views

Ubuntu/Cordova/Android SDK: AVD Target not showing

A Web Developer trying to create android app using Ubuntu 18.04 with Cordova (v.8.0.0) requirements show: Android Studio project detected Requirements check results for android: Java JDK: ...
0
votes
0answers
28 views

A JNI error has occurred, in HIVE 3.0.0

I installed Hadoop successfully and it's working fine, but when I installed Hive and ran the hive command in terminal, I got this error Error: A JNI error has occurred, please check your installation ...
0
votes
0answers
107 views

R: Cannot install rJava; what is r-api-3.4?

I am on an Ubuntu 18.04 machine with R version 3.5.1, installed following this link. I am trying to install the CRAN package rJava, which I do the following way (as seen here): sudo apt-get install r-...
1
vote
0answers
111 views

update-java-alternatives jinfo file does not exist

I'm trying to learn how to quickly change which java version my system uses as described in this article: https://aboullaite.me/switching-between-java-versions-on-ubuntu-linux/ I've used apt-get ...
1
vote
2answers
2k views

How to fix Eclipse with OpenJDK 9

I have installed OpenJDK 9 in Ubuntu 17.10. I wanted to start developing in Java, and I did setup JAVA_HOME variable and did some stuff I found on the internet. I can compile a Java program and run it,...
1
vote
0answers
43 views

install 32bit eclipse parallel to 64bit eclipse in 64bit ubuntu

My preferred java IDE is eclipse. Since I own a lego robot (NXJ) I want to use Java For Lego Mindstorms. I found out I have to use all 32bit architecture since the usb drives won't work otherwise. ("...
0
votes
1answer
108 views

Want to change default java version to 1.8.xx [duplicate]

I downloaded Oracle JDK-8 using sudo apt-get install oracle-java8-installer and set this version to default using sudo update-alternatives --config java but when I run java -version I get java ...
0
votes
0answers
88 views

Error in launching Minecraft on ubuntu 17.10

I downloaded Minecraft from its site, but always when I'm launching it, I get error below. I followed instructions from "Minecraft with OpenJDK 7, I get “the trustAnchors parameter must be non-empty”",...
0
votes
0answers
16 views

Ubuntu-Make 16.11.1 does not have IDE option on Ubuntu 17.10 XFCE

Aloha! I recently installed Ubuntu 17.10 Artful with XFCE onto my Samsung Chromebook and after installing Java JDK 8 I went to try and install either Eclipse or Idea intellij IDEs. After trying to ...
0
votes
1answer
162 views

How to set Maven home PATH on Ubuntu as User

I am new to Ubuntu and Maven. Recently I installed Maven in my system as user and the installation went perfectly, but I can't set path environment variable permanently. I also referred to the ...
0
votes
1answer
26 views

i am unable to set classpath

enter image description hereWhen I try to add classpath using "EXPORT CLASSPATH = / location", it updates the CLASSPATH temporarily. When I look at the classpath using echo $ CLASSPATH, I can see that ...
0
votes
1answer
140 views

Execute sh file with java command [duplicate]

Translated I'm looking for a similar solution to creating a bat file in Windows on Ubuntu 18.04, I have a java file in which I make the call via console with the command java -jar routine.jar however ...
0
votes
0answers
394 views

NetBeans is not working in Ubuntu 18.04

I want to install NetBeans IDE in my Ubuntu 18.04 system. I have successfully installed jdk 8 and it is working, but when I download netbeans and try to install it, and try to run it show me this ...