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
2answers
21 views

Is there a app or software that will allow me to access a Zip file that was down loaded from the Hightail web site?

I am using a Asus laptop, running on Ubuntu 15.10, - (64bit) - however, my problem is this, I downloaded two zip files from the Hightail website, and I am unable to read the files. when I click on ...
0
votes
0answers
45 views

Autostart .jar file with screen

How can I autostart a .jar file in screen at boot? I already have some other programs that start at boot, but the .jar file doesn't work for me.
0
votes
1answer
46 views

Memory usage by Java processes

I notices that applications use almost all memory on my ubuntu 14.04 server. Can you look into my htop screen and let me know whether this situation is normal? There are many processes for two ...
-1
votes
1answer
47 views

Issues while attempting to open a java project with Netbeans on Ubuntu Mate 15.10

Well, i just moved from windows and installed Netbeans to do some java projects, but I can't manage to open, either my old projects or even a new one. Here's some screenshots: while attempting to ...
0
votes
1answer
29 views

Replace JDK 9 with JDK 8

I need to replace JDK 9 with JDK 8. I have installed JDK 9 using commands: sudo apt-get updatesudo add-apt-repository ppa:webupd8team/java sudo add-apt-repository ppa:webupd8team/java sudo apt-get ...
0
votes
1answer
191 views

JVM problem while running eclipse

I have installed Java 9 JDK on my Ubuntu. Now I need to install Eclipse. I have downloaded and extracted Eclipse Mars to /opt folder. When I started eclipse from console I got error: ...
0
votes
1answer
91 views

PdfBox 2.0.0 write text at given postion in a page

I have just passed from PdfBox 1.8 to 2.0.0 and there are quite significant differences. Before to write a text on an existing pdf page I used drawString. In 2.0.0 draw string is deprecated but ...
-1
votes
2answers
22 views

visual VM with JDK problem

I'm new to ubuntu ,i'm trying to use tool called jvisualvm to know if there is amemory leak or not , i got after after installed it update-alternatives --config java There are 3 choices for the ...
1
vote
2answers
31 views

how to download a CVS reposititory from sourceforge

How do I download this code with cvs? I press "enter" when prompted for a password, but no download initiates. thufir@mordor:~$ thufir@mordor:~$ cvs ...
2
votes
1answer
266 views

Eclipse not working properly: GUI glitches etc

I've recently installed Ubuntu 16.04 Beta on my system, because I need a lot of newer packages for development. Eclipse has been very very difficult though. I've worked with Eclipse Mars on 14.04 and ...
0
votes
0answers
21 views

Ubuntu 15.10 How to launch Java new version?

How to launch Java new version in Ubuntu 15.10 Untrusted Application Launcher The application launcher 'sun_java.desktop' has not been marked as trusted. If you do not know the source of this ...
0
votes
0answers
16 views

Frostwire giving me strange errors regarding library and stack guard. What do I do?

I just installed FrostWire 6.1.9 on Ubuntu 14.04. I ran it from the terminal, and I saw this in the terminal window: $ frostwire HOSTNAME IS aspire Starting FrostWire... Java exec found in PATH. ...
0
votes
1answer
2k views

OpenJDK Ubuntu 16.04 [closed]

I'm trying to install openjdk on Ubuntu 16.04 Beta 2. After the upgrade from beta 1 to beta 2, openjdk 8 was installed and openjdk 7 was removed. When trying to install openjdk 7 I get the following ...
0
votes
0answers
55 views

Uninstalling jre1.8.0-73 from Ubuntu 14.04 LTS

I'm trying to remove Java jre1.8.0-73 from Ubuntu 14.04 LTS, and on every try I made, I got this error: Removing jre1.8.0-73 (1.8.073-1) ... find: «/usr/java/*»: No existe el archivo o el ...
0
votes
0answers
30 views

Minecraft error downloading launcher package

I recently downloaded the launcher for minecraft but I get an error when i try to launch it: Bootstrap (v5) Current time is Mar 29, 2016 5:23:49 PM System.getProperty('os.name') == 'Linux' ...
-2
votes
1answer
58 views

how does java work in ubuntu? [closed]

Is java the same in ubuntu as with a text editor like note pad? if so do I just write the script and save as java in ubuntu? running ubuntu server 14 on 32 bit pc no other os running on that pc. ...
0
votes
2answers
161 views

How to handle SWT applications in 16.04

It seems that SWT (eclipse based) applications in Xenial (16.04) are mostly broken with default-jdk (ie openjdk 8). This includes Eclipse IDE, Gantproject, etc... They either won't load, or won't ...
0
votes
0answers
88 views

Imported Android Studio project has a wrong java path

I just imported an existing Android project into Android Studio running on Ubuntu 14.04. In the Studios Project Structur the JDK location is the following: /usr/lib/jvm/java-8-oracle which is what ...
0
votes
1answer
86 views

netbeans not all requested modules can be enabled

I know this question has already been posted, but the solutions provided don't work for me. I added the webupd8team/java repository and installed oracle-java8-installer and oracle-java8-set-default. I ...
0
votes
0answers
13 views

how to make a java rpm pakage?

I want to make a package that consist of jars, just like the jdk rpm package. But I don't know to write the java spec rules.Is it the same as c spec rules?
0
votes
0answers
34 views

Ubuntu 14.04 Issue with Java and OpenCV install

OK, I'm relatively new to Ubuntu. First off, does OpenCV 2.4.9 have any compatibility issues with 14.04 LTS? Every time I execute a make in the build folder, it leaves out the java under list of ...
0
votes
3answers
215 views

Help required to install Oracle JDK 8 on Ubuntu 15.10 - Where and how?

edit - the above link answered my question - it's up and running!. thanks Pilot6 and shadow. I am a Linux newbie. I am trying to install the Oracle JDK 8 and NetBeans on my computer. My internet ...
0
votes
0answers
24 views

Open JDK 7 Install Question

I thought I have downloaded open JDK 7 but when I search for in in applications I see Open JDK Java 6 Policy tool. Any ideas what I'm missing?
1
vote
2answers
32 views

Installing netbeans on default user doesn't work but on root does

I'm trying to install latest netbeans but installing on normal user results with modern looking gui which freezes after early configuration progress bar. Running same installer with sudo results in ...
0
votes
1answer
74 views

how to run “gradle run” through xvfb?

What are the equivalent directions for Ubuntu? On your CentOS 6.3 host Follow these steps to set up a CentOS 6.3 host to run headless Selenium tests with Firefox. sudo yum -y install ...
0
votes
0answers
34 views

Ubuntu: Set up Apache2 Server in Netbeans 8.1

So I added downloaded apache servers and installed in /usr/share/Apache2 (I believe this was coming when I downloaded PHP) If I open localhost I get the Apache site so I think Apache is working The I ...
0
votes
0answers
24 views

How to install Java 8 only for one user

Assuming that there are 2 users (UserA, UserB) on a Ubuntu machine, how do I install Java 8 only for one user? I followed the steps described in this link: ...
0
votes
0answers
19 views

Unable to create a file in /etc/profile.d/ : Ubuntu 14.04 [duplicate]

I wanted to create a file oraclejdk8.sh in the folder /etc/profile.d/ according to the accepted answer given here. But in the process I am getting an error like this: ...
0
votes
1answer
50 views

In which system file does 'export' command make changes?

I installed java-8 using a PPA. After that I gave a command: export JAVA_HOME=/usr/lib/jvm/java-8-oracle I had heard somewhere that this command does temporary changes. But after many logouts and ...
0
votes
2answers
50 views

Java isn't working [duplicate]

I installed Java 7 and 8 using ppa:webupd8 and my terminal says it is installed, but when trying to run minecraft it says This application requires a Java Runtime Environment 1.7.0 I'm not the ...
0
votes
1answer
93 views

What to do when jayatana doesn't work?

I have installed jayatana but menues of the java apps (Intelij, etc) are still not in ubuntu menu. I tried to install/remove/purge/resintall in many ways, the logs of the apps being launched show ...
0
votes
0answers
45 views

Smartgit 7.1 freezes while startup

I am using Ubuntu 14.04 x86_64 machine. When I start smartgit 7.1.2, it freezes on startup saying creating tray icon. I added following in vmoption file: jre=/usr/lib/jvm/java-7-oracle/ -DSWT_GTK3=1 ...
1
vote
1answer
153 views

Maven environment variable not working on other terminal

When I run echo $PATH and echo $JAVA_HOME command as a normal user, I get jdk path variables set. But when I run as a root user, the variables are not set there. I copied maven binary folder to /opt ...
0
votes
1answer
53 views

Completely uninstall java on ubuntu 15.10

I have a problem uninstall java in my system . I tried this How to completely uninstall Java? but I always get the same error. The following packages have unmet dependencies: default-jre : Depends: ...
0
votes
0answers
29 views

How can I fix this error when I want to install something

Oracle JDK 8 is NOT installed. dpkg: error al procesar el paquete oracle-java8-installer (--configure): el subproceso instalado el script post-installation devolvió el código de salida de error 1 ...
0
votes
1answer
144 views

How to install OpenJDK 8 on 15.10?

Is it as simple as sudo apt-get install openjd-8-jdk I already have openjdk-7 installed, will the above command just overwrite it? Will the latest version be used, despite having multiple versions ...
0
votes
3answers
181 views

Trying To Install Java 8.. Unable to locate package openjdk-8-jre

I'm attempting to install JAVA JRE 8. I have tried following the apt-get's, but it cannot be found there. I attempted to download it straight off Oracle's website, and i have the folder now in my ...
0
votes
0answers
23 views

how to get windows and windows classic preview design in netbeans ubuntu

I wrote a java program with Windows preview design in Windows os. Today I installed netbeans in ubuntu 14.04 and unfortunately I noticed Windows and Windows Classic preview design is not available in ...
0
votes
0answers
35 views

SIGSEGV - in Ubuntu

If I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ sudo ./xprism It works fine, but if I run: gruinda@gruinda-LIFEBOOK-AH532:~/prism-3.3.1-src/bin$ ./xprism ...
0
votes
2answers
35 views

Minecraft confusion?

So I bought mine craft and I looked on you tube found how to do it and did it only there was a problem. I ran the launcher hit play and then it pops up the launcher again and says: something about ...
0
votes
1answer
32 views

How to build an java applet?

The funny thing is, this code was applied with success on other people's computers after they made the byte code and html file. But my java IDE is running on Android and the compiler threw 17 errors, ...
0
votes
0answers
28 views

Start Java process within a PHP application

Not sure if this is the right place to ask or should I ask on stackoverflow.com but I will try here first. I have a php web application and somewhere within this application I have a button. That ...
2
votes
2answers
37 views

Running *.jar files with Java 7 Runtime

When I run the *.jar file my Ubuntu pops up an error message with The file /... is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to ...
-1
votes
1answer
20 views

Update from java 1.7 to latest version

How can i update to the latest version of java if i have already installed on my pc java 1.7. If i should remove it first, how can i do that?
0
votes
1answer
57 views

Can't run chromedriver and google-chrome-stable at the same time

Up until now I've been using chromium as my default browser and have been running java-selenium test automation with chromedriver (which I've downloaded and manually specified its location to the ...
0
votes
0answers
26 views

LTK toolkit java for RFID

I have a RFID reader ZK-RFID101. I'm trying to use the LTK toolkit java so that I can develop a middleware for that equipment. I Download the .jar from sourceforge site. I add it to the class ...
0
votes
1answer
85 views

How do I start/stop failed upstart job?

I have an upstart script in /etc/init/myexample.conf. This job basically runs a java jar file. Normally, I can start and stop this using sudo start myexample and sudo stop myexample. I changed the ...
0
votes
1answer
28 views

wine and java silent install

I am creating a bash script for my home pc. All other installs are ok but wine1.7 and oracle-java-8-installer are prompting for an 'ok' or 'accept'. How do I avoid this? I am installing from ppa's
0
votes
0answers
17 views

Where to find NetBeans userdir?

I'm trying to find NetBeans userdir, as my Netbeans won't start. I've tried re-installing it, but still it won't start. I read here that I should delete the userdir. However, I can't find it. I've ...
1
vote
2answers
165 views

Very slow wifi on Ubuntu 15.10 and Macbook Pro

I just installed Ubuntu for the first time yesterday. I don't use the terminal very often so I have some issues installing programs. First of all : could you please help to speed up my wifi ? I'm ...