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

0
votes
1answer
118 views

Very UGLY font rendering in java apps

Does anybody in here knows how to fix these fugly fonts? I've got installed java openjdk 8 and im running on ubuntu 15.04. I tried installing java oracle jdk 8 but it didn't help, then i deleted it ...
1
vote
1answer
81 views

How can I start an executable jar file from a desktop file in Lubuntu?

I have an executable jar file which I'd like to be able to start from a shortcut on either the desktop or the start menu. I wrote a desktop file but I cannot get it to work no matter how I specify ...
3
votes
2answers
64 views

Desktop shortcut for Java executable doesn't connect

[EDIT: Typing cd CashAdv THEN ] Running java -jar /home/bigaisdgood1/CashAdv/CashAdv.jar in a terminal would run my program correctly and has no problems. However, when I use that line of code in a ...
0
votes
0answers
27 views

Are there any open source projects From which it is eary to learn Ubuntu Desktop Application Development?

I have been contributing in this forum through asking and answering questions, but now I want to contribute in Open Source Projects by coding. But I have no idea which are the suitable platforms and ...
0
votes
1answer
21 views

Installation auto-triggers after every apt-get command

I was trying to install ElasticSearch onto my system using the following script : https://gist.github.com/sachinkamath/b42861f4f6216e62ea37 However, the installation was not successful due to a curl ...
1
vote
3answers
327 views

Javac package is missing

I have installed the JDK package using $sudo apt-get install java-1.7.0-openjdk-devel. But now when I am running javac, it is giving the error message "Command not found". I am working from Ubuntu ...
0
votes
1answer
29 views

Missing OpenJDK Java8 in “Open with” in Ubuntu 15.04 when trying to run .jar file

I'm a complete novice to ubuntu, so i do hope that someone can guide me through so i can chose OpenJDK Java8 in "Open with" menu in Ubuntu 15.04 when trying to run .jar file
0
votes
0answers
82 views

How to install GTK - Xulrunner - WebKitGTK in ubuntu 14.04

I need to run the SWT Browser and the oficial documentation is: Eclipse 4.4 and newer: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x, 3.6.x, 10.x and 24.x (but not 2.x nor other unlisted ...
0
votes
0answers
45 views

How install GTK on ubuntu 14.04

A: SWT requires the following GTK+ versions (or newer) to be installed: Eclipse/SWT 4.5.x and newer: GTK+ 2.18.0 and its dependencies (for GTK+ 2) OR GTK+ 3.0.0 and its dependencies (for GTK+ 3) Any ...
0
votes
0answers
154 views

Cisco Webex meetings not working on Ubuntu 14.04 64 bit

I am trying to join Webex meetings but I am only able to see the list of members present in the meeting. Everytime I try to do so it says "The Audio Device is Unaccessible Now". Also apart from this I ...
2
votes
0answers
34 views

Using Screen inside /etc/init

I am trying to launch a .jar inside a screen session at boot using /etc/init Here is my script (pretty standard:) start on runlevel [2345] stop on runlevel [^2345] console log chdir ...
0
votes
0answers
138 views

Java fonts rendering problem

In the java application I'm using, all fonts are working correctly, except the new ones I just installed (Open Sans and Source Sans Pro). Is this truetype issue or what? All other fonts are rendered ...
0
votes
1answer
129 views

Java application freezes very frequently

I'm running Ubuntu 14.04 with Xeon E5-1650 and 32 GB of RAM. For some reason, this system is having a lot of trouble running Java applications such as Eclipse and RubyMine. What happens is that within ...
-1
votes
1answer
27 views

Need help installing a texture pack on Minecraft

So i need help installing a texture pack on minecraft. I don't know if this is the right site to ask but it has to do with ubuntu mostly. So every time I go on minecraft and "open texture pack folder" ...
0
votes
0answers
40 views

Permission problem with Java Applets

I have a problem with my Java installation. I can run every Java program, but if I need an Applet, the Browser displays a blank section! :/ If I start Firefox with the terminal, I see following ...
0
votes
0answers
13 views

problem with sdk

i was trying to develop apps for ubuntu and downloaded ubuntu-sdk but i got to know that we can build mobile apps with ubuntu-sdk.Can someone tell why we e ubuntu-sdk to build apps for mobile ...
0
votes
0answers
48 views

How to install Java? Getting 404 errors

Wondering how to install Java onto my laptop...Trying to start a game that requires it (MegaMek.) However tried using the instructions on the Oracle site and getting 404 errors.
0
votes
0answers
47 views

Ubuntu Desktop adding java dependency to package

I am creating a new package that depends on java 8 and although I have JVM8 installed and my package works but I want to make sure that the package manager won't install unless the dependency is met, ...
0
votes
1answer
506 views

libnpjp2.so - java plugin missing in openjdk-8-jdk:i386

I am using ubuntu 14.10 and i installed jdk8 via apt-get install openjdk-8-jdk:i386. Using update-alternatives, I have made java 8 as the default one. Now, when i checked java on firefox using this ...
0
votes
1answer
202 views

Netbeans cannot find java

So, I uninstalled Openjdk 7 and installed Oracle Java from webupd8. But after the installation Netbeans won't start. I have tried all the methods posted online about editing the netbeans.conf file and ...
1
vote
1answer
66 views

Android virtul device launching problem

When I launch my emulator it say : Failed to start emulator: Cannot run program /home/mahfuz(my computer name)/Android-Sdk(folder)/android-sdk-linux/tools/emulator": error=2, No such file or ...
4
votes
1answer
156 views

What is the “path to ant” that Crosswalk speak of?

I am in the process of setting up an Ubuntu 14.04 server to experiment with Crosswalk. I have installed the Java JDK, apt-get install default-jdk and ANT, apt-get install ant. whereis java returns ...
4
votes
1answer
120 views

Error while installing Oracle JDK 8 in Ubuntu 15.04

These commands both run successfully sudo add-apt-repository ppa:webupd8team/java sudo apt-get update But when I run sudo apt-get install oracle-java8-installer, it downloads the JDK but then ...
0
votes
1answer
267 views

Java Runtime Environment 1.4.2 Installation

I´ve got HP Proliant dl380 g3 and I can´t use few things from the "iLO(integrated lights-out)" because this tool needs the Java Runtime Environment 1.4.2 to run in my browser HP does not support ...
0
votes
0answers
134 views

Java JDBC: Connection Timed out - Executing a jar file in shell script scheduled as cron job

I have a requirement of updating a db data. Db is stored on a remote server. I am using an executable jar file that connects to this db using JDBC and parses locally stored files and updates the db ...
0
votes
0answers
23 views

ubuntu 14.04 -eclipse crashes on pressing period button

I have 2gb ram AMD E1 graphics laptop and Ubuntu 14.04 as my OS. I am currently learning android with Eclipse Juno as IDE and jdk 7. It was working fine a few day before.It still works ok but on ...
0
votes
0answers
75 views

Run both 32-bit and 64-bit Java runtimes Ubuntu 15.04

Unfortunately my vpn connect for work requires a 32-bit Java runtime, so is there a way that I can run both 32-bit and 64-bit without needing to manually switch back and forth?
3
votes
0answers
69 views

Ubuntu 15.04 crashes with scattered screen

I have recently installed 4GB DDR3 RAM (Innex) with an existing 2GB RAM (Dynet), currenlty it runs with 6GB RAM. I use Eclipse, Java, Chrome extensively for my development purpose But after this ...
0
votes
0answers
25 views

scp from local environment to ec2 running ubuntu

I am new to Ubuntu and EC2. I am trying to scp a java war file from my mac to my EC2 instance. I'm using the command: scp -i ~/Downloads/rocket-key-pair.pem ~/Desktop/DevEnvironments.war ...
0
votes
0answers
434 views

Strange freeze when loading IntelliJ IDEA Editor

Since about three weeks IntelliJ is freezing when I'm trying to load any project. It's the same with a new project too. It seems like it freezes the whole xserver - I can't interact with any ...
0
votes
1answer
201 views

Invalid eclipse home when installing Eclim

I am encountering a issue when installing the Eclim. It is not able to detect the location of the Eclipse. At the installation screen, I select the Eclipse home folder, but the Eclim installer has an ...
0
votes
0answers
157 views

Popup fonts in IntelliJ IDEA are too large, or bold/pixelated, 15.04 using tuxjdk

Here's a screenshot showing the problem: As you can see, where the autocomplete text exceeds the size of the popup, the font becomes strange. Similarly, the popup window has text much larger than ...
0
votes
0answers
73 views

How to create .deb package of my JavaFx application?

I've built an application using JavaFx. Now I want to make a .deb package of my application to use it into Ubuntu/Debian platform. How can I do it?
0
votes
1answer
79 views

Errors were encountered while processing: libxau-dev:amd64

I have removed Java version 1.8 and now want to install version 1.7. All the time I am getting error(1) with libxau-dev file so I am trying to install it and getting message below: my@server:~$ sudo ...
0
votes
0answers
148 views

Trying to install Maven, getting JAVA_HOME error

I already have jdk installed and now I would like to learn Maven. When I run mvn -version I get: Error: JAVA_HOME is not defined correctly. We cannot execute /usr/local/java/jdk.1.8.0_60/bin/java ...
0
votes
1answer
531 views

Unable to set JAVA_HOME to jdk

I am trying to run android studio on ubuntu 14.04 LTS. But when I run the studio.sh script, i am asked to set JAVA_HOME to jdk from jre. Despite the fact that I have set ...
0
votes
1answer
74 views

Running a jar file at boot with cron and seeing output

I'm setting up a jar file to run at boot. I have a script to run it with, and that script is configured to run at boot in using @reboot in cron. I have a bare CLI interface for the moment, with no ...
0
votes
0answers
173 views

Cann't install Oracle Java on Kubuntu 15.04

I got a problem try to install Oracle Java 8 or 9. Note: I'm using the WebUpd8 ppa. Removing outdated cached downloads... sha256sum mismatch jdk-9-ea-bin-b78-linux-x64-19_aug_2015.tar.gz Oracle JDK 9 ...
0
votes
1answer
2k views

libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/java/jdk1.8.0_60/jre/lib/i386/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory at ...
1
vote
1answer
102 views

JAVA Graphics does not display!

I made a post earlier that was not clear! Here is the code. It is a sample code I am testing to see if it works on my ubuntu! // using drawLine to connect the corners of s panel import ...
0
votes
3answers
342 views

How to update Apache Ant version from 1.9.3 to 1.9.4

My O.S. version is Ubuntu 14.04 LTS. My Apache ant version is 1.9.3. ant -version Apache Ant(TM) version 1.9.3 compiled on April 8 2014 I want to update my Apache ant 1.9.4.(onwards) Please help ...
0
votes
0answers
72 views

Same thing works on terminal but not in java Runtime while using Ubuntu 14.04 LTS

I have a Java project which I developed in windows. Now, I want to make it platform independent. A part of the project is: it takes a c program and executes. takes input from file and gives output ...
0
votes
1answer
199 views

How can I install Java Editor

I want to install this Java Editor in Ubuntu 14.04. I have already install Wine1.7 and Java 8. :) How can I do this? (Sorry, I am a Ubuntu-beginner)
0
votes
4answers
4k views

Installing Java on ubuntu [duplicate]

I have tried to install java on ubuntu, but cannot find a way to make it work. Is there a way to install java with apt-get?
1
vote
1answer
98 views

Cannot install NetBeans 8 in Ubuntu 14

I am trying to install NetBeans 8 in Ubuntu 14. When I execute the .sh file using ( I have already set the file as executable ) ./netbeans-8.0.2-linux.sh I get this ( Out of memory error ) I ...
0
votes
1answer
30 views

How can I reset NX sessions?

I am running Ubuntu 12.04 and x2goserver. The x2go sessions boot into openbox, which starts a java program as defined in its autostart profile. Question is, if I make an update to this java ...
0
votes
1answer
413 views

matlab 2015a 64 bit installation issue on ubuntu 14.04 LTS

I'm having trouble with matlab 2015a (64 bit version) installation on ubuntu 14.04. I did chmod things to make install file(in the root directory) executable and after running it these messages were ...
0
votes
0answers
11 views

Installing things [duplicate]

I am new to Linux. I installed it to my old laptop (Ubuntu 15.04). It looks really nice. But installing and using programs seems really difficult. In Windows you just double click on an executable ...
1
vote
1answer
74 views

Problem runing Matlab R2013a in Ubuntu (aparently, something to do with Java)

I am having some troubles while trying to run Matlab R2013 on Ubuntu 15.04 (the same problem happens in 14.04 and 12.04 versions). When I try to run in from the terminal or using the Matlab icon, I ...
2
votes
1answer
102 views

Can't use www.saberparts.com

When I go to a website that looks like using flash or java or somthing similar, it says that "your current browser isn't compatible with saberparts" and I actualized firefox, tried it with chrome, ...