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
1answer
30 views

Error executing javascrit file through nashorn jjs

I can execute jjs on bash $ jjs jjs> but I can not execute script $ ./executable.js /usr/bin/env: jjs -scripting: No existe el archivo o el directorio executable.js #!/usr/bin/env jjs -...
0
votes
2answers
1k views

Ubuntu 12.04 problem installing thinkorswim

I have follow the instructions listed in the forum as well as the thinkorswim website. I can get all the way to the launch point for showing the desktop and it won't show I just get a black screen and ...
0
votes
1answer
9 views

Running Jab-Ref3.5.jar on Ubuntu 14.04

I downloaded JabRef-3.5.jar and I'm trying to execute it from the command line as follows: java -jar JabRef-3.5.jar Just as it says in this post. Unfortunately, it doesn't work. It says: Error: ...
1
vote
2answers
33 views

Can't find the eclipse was installed by eclipse Installer

I downloaded an installer from here and run eclipse-inst. It showed a dialog to select an IDE to install, I selected Java and installed it in /root/java, then it showed me a button to launch it... I ...
0
votes
1answer
22 views

how to add a “.so” library in a Netbeans project in Ubuntu

I am a beginner in Netbeans JAVA development. I am searching for this solution for a long time and I have found some answers from here and here too but I can't make it work. I have also tried to run ...
0
votes
1answer
6 views

Unable to update any software packages in VMWare Ubuntu

I want to understand why I am unable to install any packages. I am trying to install hadoop, but for that Ubuntu 14.04 & Java 7 or above are prerequisite and I cannot install them: sudo apt-get ...
0
votes
0answers
11 views

problem with eclipse in ubuntu 16.04

I Am a student , I installed ns3 simulator on ubuntu 16.04 successfully. and i install also Eclipse from a terminal by this command: sudo apt install eclipse-cdt and when i run eclipse by this ...
0
votes
1answer
40 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 ...
0
votes
0answers
9 views

Trying to install Java JDK and IntelliJ packages on XFCE

Im new to Linux and am a bit lost in the web of commands. I have downloaded the latest versions of both JDK and IntelliJ and I have extracted them using squeeze, but then when I try and run a command ...
0
votes
0answers
4 views

How can I retrieve Mysql Database Results to my Applet in my Browser?

I have been trying to get my applet to display database values from MySQL server, something it does very well when i debug it in Netbeans, so I do not understand. I have set the java security levels ...
1
vote
2answers
551 views

dpkg broken by oracle-java8-installer

I want to remove the oracle-java8-installer but it gives the below errors. Perhaps good to mention that I messed a bit with apt, e.g. at some point I manually removed the apt cache (but the java ...
1
vote
1answer
22 views

Webupd8 Oracle Java8 on rpi missing javaws.policy

I'm trying to install Oracle java8 on my raspberry pi 3. My script follows the instructions at http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html. I tried both the option of ...
0
votes
0answers
10 views

Sublime Text 3 build result not working

I have a problem in Sublime Text 3. After a successful build, I am not getting output. Even the build result is not working for a "hello world" Java program and there is no output.
0
votes
0answers
6 views

rsyslogd somehow crashes my server

About 8 hours ago my java web server (on an ubuntu machine) crashed and I'm trying to figure out why so that it doesn't happen again. There is some weird stuff going on in /var/log/syslog around that ...
1
vote
1answer
134 views

Symantec Class 3 G4 intermediate certificate missing from ca-certificates/ca-certificates-java

I hope that you can help. I did a search and didn't find this exact issue. A vendor of ours recently updated their SSL certificate using a Symantec intermediate certificate. Our java process was no ...
0
votes
0answers
106 views

Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > compileSdkVersion 'android-24' requires JDK 1.8 or later to compile

I installed both Android Studio and the lates version of Oracles Java JDK 8. When I type: java -version, it seems like I have installed java correctly: java version "1.8.0_91" Java(TM) SE Runtime ...
4
votes
2answers
5k views

Install JavaFX scene builder 2.0 on Ubuntu 14.10

I am beginning my work on a JavaFX application for which I am using Intellij Idea ide. I have Java 8 installed on my system and I can see JavaFXSceneBuilder 1.1 in my system installed. But as I read ...
1
vote
1answer
28 views

Removing Java completely from Ubuntu 14.04 LTS [duplicate]

When I run which java command in my Ubuntu, it tells /usr/bin/java. I initially installed java using sudo apt-get install ... command. Using this command where does it install all java components? ...
4
votes
2answers
62 views

What happened to tzdata-java in Xenial 16.04?

On upgrading to xenial, the package tzdata-java was removed and is indeed no longer available. I managed to install older JDK versions (still needed for some development) from the openjdk-r PPA, but ...
0
votes
0answers
30 views

Error 404 while running a dynamic web project on tomcat

I get following error message when I run my web project on Eclipse Neon. The requested resource is not available (Error 404 title) I have used this guide for Apache Tomcat8 installation I have made ...
2
votes
1answer
63 views

Trigger if directory size exceeds threshold

I have written a shell script to backup data to s3 and i want to trigger this shell script when ever the system storage space goes critical lets say when the system reaches 80% of its capacity. I know ...
-1
votes
0answers
22 views

OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0

I had installed netbeans-8.0.2 . It displays an error inside the terminal - "OpenJDK 64-Bit Server VM warning: ignoring option PermSize=32m; support was removed in 8.0 " Please help me to resolve ...
1
vote
2answers
4k views

Minecraft won't install

I tried to install minecraft on my computer, but it won't display on-screen. I went to https://www.minecraft.net/download and downloaded the jar file. I put the launcher on the desktop and tried to ...
0
votes
1answer
16 views

How to install jdk1.2 beside jdk1.8

I am new to linux and ubuntu... I am trying to run a program which is old (2001), in the MakeFile it says the javac is jdk1.2 (or 1.3), however I already isntalled javac 9-internal. Can I yet install ...
3
votes
1answer
124 views

Need help scripting with jar files

I need to launch 17 .jar files, one at a time, with a 7 second delay in between each. 3 hours later, I need to kill all java processes, but only those running on surge user. 3 hours later I need to ...
163
votes
11answers
379k views

How to install OpenJDK 8 on 14.04 LTS?

As of 2016-04-23 Ubuntu 16.04 has ben released, with both OpenJDK 8 and 9 in the official repositories. I would recommend upgrading to that. As of 2016-01-11 OpenJDK 8 is still not available in an ...
32
votes
6answers
60k views

Specify JDK for tomcat7

I have installed tomcat7 (using apt-get install) and whenever I want to start tomcat7 it says : * no JDK found - please set JAVA_HOME I have set JAVA_HOME in my bash.bashrc and also in ~/.bashrc ...
1
vote
1answer
58 views

Apache Tomcat 8.5.4 Ubuntu 16.04 not working!

I have installed the following distribution of Tomcat: http://mirror.its.dal.ca/apache/tomcat/tomcat-8/v8.5.4/bin/apache-tomcat-8.5.4.tar.gz I have followed this instruction step by step: https://www....
0
votes
0answers
21 views

How to install HBase on Hadoop with 4-node clusters on Ubuntu 16.04?

I have four linux machine one is master machine(192.168.137.155) and other ones are slave machine(192.168.137.148 , 192.168.137.150, 192.168.137.151). I have installed and configured Hadoop 2.7.2 in ...
7
votes
5answers
7k views

OpenJDK-8/Oracle JDK 8 Font Patches for Ubuntu

Is there a patched version of OpenJDK-8 or Oracle JDK 8 for Ubuntu 14.10 which fixes ugly fonts in Java Applications (Jetbrains products, Netbeans etc.)? I had previously installed a patched version ...
0
votes
0answers
8 views

Java config for Lightbend Activator

Need help with Java config for Lightbend Activator on Ubuntu. I successfully got Activator up and running on Windows, but following the "same" process on Ubuntu, I get: java.lang....
0
votes
0answers
8 views

matlab system error [duplicate]

After starting Matlab on Xubuntu as root I get this system error when I am trying to open it. I reinstalled it but the same problem occurs. Can anyone help? MATLAB crash file:/home/pc/...
0
votes
0answers
15 views

Running executable jar file from terminal [duplicate]

I've just got a new PC running Ubuntu 16.04 and have transferred my work from my laptop running Ubuntu 14.04. I have an executable jar file called timed_hri.jar. On my laptop I can go to the ...
0
votes
0answers
20 views

How to install Juniper on ubuntu 16.04

How to install Juniper on ubuntu 16.04x64? I install 32bit java: There are 4 choices for the alternative java (providing /usr/bin/java). Selection Path ...
0
votes
0answers
60 views

Unable to install java on Ubuntu Server 16.04 xenial

I hope someone can help me out on this one, since I am a real beginner on Ubuntu and Linux in general. I am trying to install java on my Ubuntu Server and I'm getting the following error : :~$ ...
1
vote
1answer
4k views

learning of mysql with java in ubuntu

Hello as Im new to ubuntu i want to learn Mysql database with Java,So how to install the software and configure them for the Programming in ubuntu 13.04
0
votes
0answers
13 views

Is there any Ubuntu Version that comes with Pre-installed ERP Softwares?

At present I'm working on Openbravo,a web-based ERP business solution for small and medium-sized companies. To work with this, I need to Setup few things. Some are mentioned below. My question is ...
4
votes
1answer
227 views

I get no output when I compile Java code from the Terminal

When I try to run my Hello World program it doesn't show any output: $ ls hello.class hello.java $ javac hello.java $
0
votes
1answer
88 views

Re: Error (launching minecraft) Java oracle 8

Upon trying to launch Minecraft, I received this error. Thank you in advance for any help. The program 'java' received an X Window System error. This probably reflects a bug in the program. The ...
1
vote
1answer
86 views

Installing java8 in ubuntu 14.04 [duplicate]

I was trying to install java8 in my ubuntu 14.04 machine. I am getting the following errors. I have tried many solutions available in internet but the floowing error is repeating every time. Oracle ...
8
votes
2answers
25k views

How to run a Java program in Ubuntu

sachin@sachin-Lenovo-G550:~$ java -version java version “1.7.0_21″ OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-1ubuntu1) OpenJDK Server VM (build 23.7-b01, mixed mode) When I ran the ...
-1
votes
0answers
15 views

how to verify hbase version on ubuntu 16.04?

i install hbase-0.94.27 on hadoop-2.7.2 in ubuntu 16.04 . hadoop is work correctly but when i want to verify my hbase using hbase -version the system show me some detail about java what is wrong ?
1
vote
0answers
25 views

Java doesn't work (IcedTea )

I installed IcedTea Plugin on Ubuntu 14.04 LTS using Firefox. I receive this error message: Problem initializing runtime environment. Changing the SecurityManager is not allowed. I am not very ...
0
votes
0answers
26 views

Java from Oracle firefox update

I'm running on a ubuntu 14.4. I update the java version from Oracle website following their instruction Right now the java version installed on my computer is "1.8.0_91". I made a simbolic link on ...
0
votes
1answer
30 views

Java file won't run

So I've installed Java 8 via PPA using this method: http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/ And it seems to be working: jamie@jamie-ncase:/media/fa7e62a0-92d8-4af6-86d9-...
0
votes
2answers
12k views

how to concatenate two strings in shell script in 3.13.0-34-generic kernel

I want to concatenate two strings for the shell file im getting error when i have created the shell file in following manner could you please suggest how to get it set export APP_HOME="/home/...
0
votes
1answer
46 views

How to run a Java awt Hedless program in a server environment?

I'm running a java program that is already able to work from command line, but only if a x server is up and running. Actually on my ubuntu 16.04 x64 VPS I got this java exception Caused by: java....
0
votes
0answers
69 views

cant able to install openjdk-7-jdk and openjdk-7-jre

When I run sudo apt-get install openjdk-7-jdk I am getting this error $ sudo apt-get install openjdk-7-jdk Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
5k views

Eclipse not launching

I have installed Ubuntu 14.04, I have installed Eclipse using Ubuntu Software Center. But Eclipse is not opening, when I click it is not opening or showing any error message it is very silent. Output ...
0
votes
0answers
36 views

Issue with “Unable to access address of buffer” MInecraft 1.10.2 on Ubuntu 16.04

I have scoured the web for an answer to this problem. And I keep coming up with this vague as all else answer: For reference for anyone else having this issue, go to edit profile. In the ...