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

Cannot launch Pydev in Eclipse

I first installed Java; then installed Eclipse IDE using this (no problems at all). Then I installed Pydev using this. But whenever I launch Eclipse in my home folder it opens Java IDE not Python ...
0
votes
1answer
35 views

Java if statement bug [closed]

This is my code: while(valid==false) { System.out.println("Please enter a reference number which is two letters followed by three digits and a letter(B for business accounts and N for ...
0
votes
1answer
167 views

Eclipse crash in Ubuntu Mate 15.04

I'm currently on Ubuntu Mate 15.04 and have installed Eclipse Mars directly from the official website. My Eclipse version: Eclipse IDE for C/C++ Developers Version: Mars.1 Release (4.5.1) Build id: ...
0
votes
1answer
178 views

Installing Java Offline

I understand that this question has been asked exhaustively and do not mind if it is marked as a duplicate, but I am having a little trouble setting Java up. When I follow this post, number six says ...
2
votes
0answers
54 views

Problems with Java and Symlinks

i'm having troubles with the java jar files symlink. First of all i've to use java -jar command if i don't do it the java file doesn't run properly. Well the problem starts when i symlink the jar ...
0
votes
0answers
26 views

Java program Technic Launcher greyed out

I start Technich Launcher, but the whole window is grey, whenever I manage to hit a button, everything that it affects, shows. E.g clicking "Username" field removes the grey area from the whole ...
1
vote
2answers
31 views

Java Ubuntu PATH for compile/run [duplicate]

Ubuntu noob here. When using Windows I just copy paste this in cmd: set Path=C:\Program Files\Java\jdk1.8.0_60\bin set HomePath= C:\Program Files\Java\ jdk1.8.0_60 What would the syntax for this be ...
0
votes
0answers
663 views

Error: Could not find or load main class

Error: Could not find or load main class I have a clean install of Ubuntu 14.04.03 LTS Trusty Tahr and it's completely up to date. After installing Oracle Java I tried these on (17/12/2015, 11:12am)- ...
1
vote
2answers
255 views

“java -version” showing a different output. How to find the installed folder and configure JAVA_HOME and JDK_HOME?

I downloaded and installed the JDK+Netbeans bundle from the Oracle website, but when I type java -version at the terminal, I get this output: $ java -version The program 'java' can be found in the ...
0
votes
0answers
63 views

.jar file isn't opening

So I've been using a .jar which launches a program, in this case a game. It was working fine, and I turned off my laptop and the next day I tried to open the jar and nothing happen, not even a loading ...
0
votes
0answers
31 views

tail error while Install java

I run 64 bit ubuntu and would like install another JDK for testing purposes. I have downloaded several installations from official Oracle site: j2sdk-1_4_2_04-linux-i586-rpm.bin ...
1
vote
1answer
48 views

Several JDK on one machine

I run Ubuntu with standar java that come with it (1.7). Now I need to test some applications using java 1.4. How to install both java on the same machine? I will also need this JDK for NetBeans IDE. ...
1
vote
0answers
254 views

java-8-oracle (1.8.0_66) problem with PrintAssembly “Could not load hsdis-amd64.so”

I'm trying to run my programs with -XX:+PrintAssembly options but I always get message like: Java HotSpot(TM) 64-Bit Server VM warning: PrintAssembly is enabled; turning on DebugNonSafepoints to ...
0
votes
1answer
104 views

What's a text editor for Linux that can compile and run without the use of Terminal? [duplicate]

I'm looking for a text editor that can compile and run .java files directly, without having to use javac filename.java and java filename. Something similar would be Textpad for Windows, which uses ...
0
votes
0answers
95 views

Uninstall artifactory

I am using JDK 1.7 for my project. I installed the latest artifactory which requires at least JDK 1.8, therefore I want to uninstall it and install an older version that require JDK 1.7. What is the ...
1
vote
1answer
355 views

Error while installing DBeaver On Ubuntu 14.04

I am trying to install Dbeaver 3.5.6 on Ubuntu 14.04, but it shows some Java run-time missing error even though I've Java7 installed on my system. Here's how I tried to install ...
1
vote
0answers
88 views

Google Chrome using on Ubuntu 15.10 cause random black screen with logout

At work I daily use an HP Compaq Elite 8300 (Intel i7), with Ubuntu Desktop, Eclipse and Netbeans for develop linux embedded software, Java EE application and HTML/Javascript solution, and as browser ...
0
votes
0answers
90 views

Matlab crash when I try to compute a product which involve the transpose of a vector

I am new therefore I hope not to break any rules already in my first question. I installed Matlab 2014a in Ubuntu 15.10. When I try to run this simple code Matlab crashes: a=[1 2]; a*a'; This ...
0
votes
1answer
96 views

openjdk 7 java freeze launch

NOTE: Found a workaround, I just want to know where the problem is. Hello everyone, I am attempting to run a java *.jar file that runs on my debian setup but cannot get to run on a fresh install of ...
0
votes
1answer
53 views

How to set Java 7 as default?

For android 4.4.4 development, I needed Java 6. But eventually I moved over to Android 5.0 development which needed Java 7. When I tried using sudo apt-get install openjdk-7-jre and sudo apt-get ...
0
votes
0answers
26 views

Problem while creating new agent in JADE GUI

While creating new agent in JADE GUI, the following error message displays. FAILURE received during CreateAgent. Do you want to see the ACL message? Please help me to solve this problem
1
vote
0answers
93 views

how to fix unreadable tooltips(hover) in Eclipse Mars?

My eclipse version is: Eclipse Java EE IDE for Web Developers. Version: Mars.1 Release (4.5.1) Build id: 20150924-1200 ubuntu is: 14.04LTS when I'm using eclipse, I want to check the ...
3
votes
0answers
31 views

Is there anything wrong with java-package?

There is a question about How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? There are 23 answers at the moment, most of them are either explaining how to do it manually (unpack, move ...
0
votes
0answers
49 views

Double click open jar app not find file in jar root folder

In my java app I open an exe with ProcessBuilder and that exe makes something, this exe needs some files and I located them in my jar root directory but when I run jar with double click I get file ...
0
votes
0answers
41 views

I am having problem running a .jar file and all relevant answers did not help

I have a picture to post of the error, but I 'need at least 10 reputation to post images'. I am a total n00b with Ubuntu, but I love using it. I have this java based game that I play, Blood Pit. I ...
4
votes
0answers
194 views

OpenJDK, IcedTea security settings

I am a beginner Linux user. From my knowledge the system uses OpenJDK and IcedTea only when I connect to a SAP IDES server through SAP GUI JAVA adding a string in it to connect to that server. I use ...
0
votes
1answer
52 views

Trying to Install Java 6

I have jdk-6u32-linux-x64.bin saved on my "Home" location. When I open the terminal to extract and run the .bin, I get a "No such file or directory" error. I've searched around and can't seem to find ...
1
vote
1answer
48 views

Intellij Idea keep deleting project files

I have a project, it is a Gradle project, and everytime I close Intellij it deletes the src files, they still exist in the directory just not in the idea project.
0
votes
0answers
77 views

How do I install java ant red5 on ubuntu 15.10?

How do I install java ,ant, and red5 on ubuntu 15.10?I need it for video whisper. http://www.videowhisper.com/?p=rtmp+applications
2
votes
1answer
59 views

Ctrl + Spacebar Causes Issues Between Linux and Minecraft

Sorry for the nooby question, tonight is my first night ever trying Linux. I figured out how to install and get Minecraft running. However, when I hit Ctrl+Space, the mouse appears in the middle of ...
0
votes
2answers
170 views

Enabling java in firefox

I have java installed. When I run the "java -version" in terminal I get a expected response indicating that I have Jre1.8.0_66 installed but when I try to see if I have java by asking the oracle ...
0
votes
0answers
49 views

How do I install yjpagent-linux64?

I'm trying to activate yjpagent-linux64 for Java profiling, but I get the following error. Error occurred during initialization of VM Could not find agent library yjpagent-linux64 on the ...
1
vote
0answers
150 views

CLion ugly fonts

I have a problem with Clion fonts. They look really ugly. I tried different methods to fix that: Urshulyak solution JetBrains forum solution AskUbuntu solution I even installed infinality and ...
0
votes
0answers
63 views

Ubuntu Gnome 14.04.3 Webex won't share screen

I've been working all day to get Webex to run with Firefox on Ubuntu 14. It almost works. I can see screens shared by others, but cannot share my screen. I have seen that there are not found .so's ...
1
vote
0answers
60 views

Java jar launcher which preserves programmatically set icon and name

In my environment we have a lot of executable capsule jars which - depending on the environment they connect to - set a custom icon and name programmatically. This is done by calling ...
0
votes
0answers
77 views

Jetty8 doesn't start

I'm trying to setup nginx with jetty, but seems like my jetty8 doesn't start and I don't know why: >sudo service jetty8 start >service --status-all ... [ - ] jetty8 ... I have already ...
0
votes
0answers
31 views

Chrome fonts broken after Installing java on Ubuntu 14.04

I've been trying to solve this problem for 2 days and failed. I was trying to solve another problem on Ubuntu 14.04 with anti aliasing not working in WebStrom and ended up breaking everything. Chrome ...
1
vote
1answer
108 views

How to downgrade Java version 1.6.0_36 to 1.6

I am trying to compile the Android source code version 4.2 in my Ubuntu 14.04. The compilation step is unsuccessful throwing following in terminal. Your version is: java version "1.6.0_36". The ...
0
votes
1answer
66 views

Can't install Netbeans/JDK 7 on Ubuntu 14.10

I am having trouble trying to install Netbeans/JDK 7 on Ubuntu. When i try to install Netbeans, it asks for JDK 7, but i was unable to install it via apt-get. I've tried this command already: sudo ...
0
votes
0answers
37 views

unable to install jdk 7 [duplicate]

I am unable to update package index in Ubuntu. I tried the command sudo apt-get update I am getting following output snippet:
2
votes
2answers
163 views

Where is my PATH variable being set?

I'm trying to set my path variable to look like this: ...
3
votes
2answers
516 views

Is the openjdk-r ppa trustworty?

I've seen a ton of blogs saying Java 8 is now available to Ubuntu 12.04 & 14.04 through the ppa openjdk-r. My question is how trustworthy is this ppa? Is it run by people from openjdk or ubuntu or ...
0
votes
0answers
26 views

How to install LogicSim in Ubuntu 14.04

how to install LogicSim (Download here)? I have Java 1.8.0_66, but if I want to open the LogicSim.jar with Oracle Java 8 Runtime it appears the message: "Language file languages/en.txt not ...
0
votes
0answers
20 views

How to remove java 7 & eclipse version appropraite with java 1.6?

I'm new to java, and I tried to uninstall java 7 using this command: sudo apt-get purge oracle-java7-installer Then tested it by: sudo dpkg --list |grep -i jdk And got: bash /usr/bin/java no ...
0
votes
0answers
92 views

How can i debug an spring boot application on ec2 using ubuntu 14 (tomcat)

I managed to get my application running on ec2. But most of the stuff needs to be tested into a live environment. So i did following in IntelliJ setup: 1)Edit configurations 2)Remote tomcat server ...
4
votes
1answer
1k views

Permission denied while doplying Tomcat 8 webapp on Amaon EC2

I can't find how I can get write and read permission into the tomcat folder. I followed DigitalOcean's tutorial on setting up Tomcat. The only thing I did different is that I used Java 8 instead of ...
0
votes
0answers
16 views

What are libjavaplugin_oji.so and sunw_java_plugin.mo files

Please can you let me what these 2 files libjavaplugin_oji.so and sunw_java_plugin.mo contain and what they are for? I am missing these two files in a product which uses java runtime env, but I don't ...
0
votes
0answers
590 views

“Error occurred during initialization of VM” IntelliJ

So, I've been having the issue already discussed here, and here, which showed: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object to a version check. ...
0
votes
0answers
24 views

Error during installing MATLAB on Ubuntu 12.04

I have installed MATLAB 2012 on Ubuntu 14.04, and it works properly. However, when I tried to install it on my collegue laptop which has Ububtu 12.04 installed on it, and after it started the ...
0
votes
0answers
159 views

how to downgrade JRE used by firefox

I have a couple of versions of oracle (sun) java installed and I'd like firefox to use the older Java (JRE) 7. I've configured both the alternatives for java and mozill-javaplugin.so to use JRE 7. ...