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

using alternatives with java 7 and java 8 on 14.04.2 LTS

I had java 7 installed. Using the PPA repository, I added java 8. sudo apt-get install oracle-java8-installer That made java 8 the default. So, I tried to use update-alternatives to make java 7 the ...
1
vote
2answers
46 views

Problem running jar file in ubuntu

Why does a .jar script run when I run it like java -jar myfile.jar, but it does not run when I execute it like ./myfile.jar
2
votes
0answers
77 views

how to enable webex on 14.10 64bits

I had issues to join Cisco Webex in Firefox on 14.10 64bits. Here is my experience to make it work. First, you need to install either openjdk/icedtea or Oracle Java as the JRE. You should be able ...
0
votes
1answer
29 views

i have installed sql developer but can't run?

It doesn't work and give me this message: Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/muhammad/.sqldeveloper/4.1.0/product.conf
0
votes
0answers
78 views

Java HotSpot(TM) Server VM warning: You have loaded library [dir] which might have disabled stack guard

Java HotSpot(TM) Server VM warning: You have loaded library /tmp/libnetty-transport-native-epoll7650900490225298142.so which might have disabled stack guard. The VM will try to fix the stack guard ...
0
votes
1answer
47 views

Help Installing SAP GUI 740

I get this error, should I try a new download or is something I should get from somewhere else? Thanks java -jar PlatinGUI740_0-20012039.JAR Exception in thread "main" ...
0
votes
0answers
37 views

how to configure jitsi with getonsip?

I want to test jitsi with getonsip, can I do that with freephonebox? Or, what's good echo test service, maybe SIP 5060? I want to establish, a positive test, that I've configured the client ...
0
votes
2answers
50 views

“permisson denied” when I install JDK on Ubuntu

When I install jdk1.7.0-76 on Ubuntu, and input java -version on terminal, it turn out to be "permission denied" How can I handle this problem?
0
votes
0answers
48 views

How do you “get rid” of a SIGTERM killall command targeted on an application?

I have minecraft on my Ubuntu 14.04 computer. I personally don't know much about Ubuntu and all, so I'm just going to explain it this way: Someone set a SIGTERM killall minecraft command, so whenever ...
1
vote
1answer
816 views

E: Sub-process /usr/bin/dpkg returned an error code (1)

When i try to remove Java sudo apt-get remove jdk1.8.0-40. I get this: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be ...
2
votes
0answers
28 views

Eclipse problem does not start on 14.04

Just yesterday eclipse was working fine. But today it get's stuck on the small window,after eclipse launch screen. Don't know what exactly is the problem. Due to low reputation i'am unable to post the ...
0
votes
1answer
38 views

UBUTU server java 8 installation error

how to install java 8 in ubuntu server 32 bit ?? sudo apt-get install oacle-java8-installation This is working in UBUNTU desktop version 64 bit but not in UBUNTU server version 32 bit
0
votes
1answer
35 views

Installing java for 32 bit on a 64bit OS on terminal

I am using Ubuntu trusty tar 64 bit and I want to install Java 32bit. I have removed the previous java runtime environment which was 64 bit. Now i need help how can I do this on the command line? I ...
0
votes
0answers
18 views

Startup Java Application not showing Application Icon

So I have a custom java application that I run on startup using the startup applications tool. The issue is that program's assigned icon is not being displayed in the unity side bar. it's showing the ...
0
votes
0answers
96 views

Javafx dependant program fails on ubuntu 14.04

An application I need to run is based on JavaFX, but when I run it I get the following error: Graphics Device initialization failed for : es2, sw Error initializing QuantumRenderer: no suitable ...
0
votes
1answer
185 views

class file has wrong version 52.0, should be 50.0

Im compiling a Java program from my terminal it has been working for awhile now, and then all of a sudden I created another class, and now I cant get it to compile.. here is the error I get from the ...
0
votes
0answers
81 views

NetworkError: 500 Internal Server Error

When I am trying to run a java services through php file(xyz), it is throwing this error (Firebug) NetworkError: 500 Internal Server Error http://127.0.0.1/dev/en/abc/xyz ...
0
votes
0answers
12 views

Can't work eclipse libraries

So I'm trying to convert my windows workspace to my ubuntu setup and encountered some problems. It's asking for absolute path. Here's what my setup looks like: http://i.imgur.com/6LRz5Q3.png Keep in ...
-1
votes
1answer
52 views

Java 7 and 8 install problem

I installed java following this tutorial that and the tutorial made me go to this certain file with path variables or something. To play Runescape I need java 7 so I need to switch. I have installed ...
0
votes
0answers
56 views

Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.214.140|:443… failed

I am running the following command sudo apt-get install oracle-java7-installer however I am receiving the following error Downloading Oracle Java 7... --2015-03-10 08:13:35-- ...
0
votes
2answers
205 views

Unable to set the right version of java on Ubuntu 14.10

I recently tried installing the most recent version of Oracle JDK (1.8) but somehow I'm unable to overwrite the current version of java being used by the system. I set the JAVA_HOME variable to point ...
0
votes
0answers
36 views

cannot access console for ActiveMQ

I installed ActiveMQ with apt-get, and it seems to run, but oddly: thufir@doge:~$ thufir@doge:~$ activemq status INFO: Loading '/usr/share/activemq/activemq-options' INFO: Using java '/usr/bin/java' ...
0
votes
1answer
133 views

How to set new JDK home in NetBeans IDE after Java update (NetBeans IDE refuses to start)

This is a question which will help you through what to once you have realised that after updating your Java version, NetBeans IDE refuses to launch. And even after updating your $PATH variable in your ...
0
votes
0answers
40 views

Trying to Launch Runescape Client - Nothing Happens

I'm really bad at this, and this is my first experience using Ubuntu. If you don't think your answer needs to be explained, it needs to be explained as if I were three. I'm talking explicit, clear, ...
0
votes
1answer
15 views

Launchpad: Build package on utopic, but release for older versions

Let's say I want to build an application, that has certain Build-Depends, that can only be satisfied on utopic. To be more specific: openjdk-8-jdk*. The resulting binary will no longer have this ...
0
votes
1answer
145 views

Trying to play Runescape on Chromebook

Please be as simple and patient with me as possible. Not only is this my first experience with programming in any way, I'm surprised I got this far at all. I'm being serious. If you don't think it's ...
0
votes
0answers
50 views

Support / lifetime of OpenJDK 6+7 in Ubuntu 12+14 LTS

We have a few systems running OpenJDK 6 on Ubuntu Server 12LTS..we are planning on updating to Ubuntu Server 14LTS with OpenJDK 7. Unfortunately I cannot find any information about OpenJDK 6 + 7 ...
0
votes
0answers
36 views

how to get jms connection factory details from the asadmin CLI for Glassfish

How do I get more specifics on jms/CrmConnectionFactory, using the get command, from the asadmin console? thufir@doge:~$ thufir@doge:~$ asadmin list-jms-resources jms/CrmQueue jms/CrmTopic ...
0
votes
1answer
98 views

java -home , Unrecognized option: error to create java virtual machine

My Ubuntu was OK. After trying to install Hadoop, I get this error. Why? java -home Unrecognized option: -home Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
0
votes
0answers
13 views

error in build to process builder in java

I have devloped myself tagger and I want to host on the web. my server is based on jsp. But This tagger is based on svmtool and it has been written in Perl script. That's why, I have created one ...
0
votes
0answers
47 views

Access a file on a remote Ubuntu machine using Java

From java running on Windows, I need to access a file on a remote Ubuntu machine. I use the following: URL U = new URL ( "http://" + SERVER_IP + ":" + SERVER_PORT + "/" + ClsName + ".class" ); ...
1
vote
1answer
69 views

How to get rid of this message about a failed install [closed]

I installed Ubuntu 11 after its end of life. I then tried to install java from the repositories. However, the installation failed. Since then, every time I install some other package apt-get tries to ...
-1
votes
1answer
38 views

How to compile .java files in terminal?

I have already installed JDK in my 12.04, but i don't know how to compile .java files in Terminal. I used javac FILENAME.java then java FILENAME in terminalbut this shows error like this javac: file ...
0
votes
0answers
112 views

Enabling Java in Chrome on 32 bit 14.10

I am trying to run Runescape in Chrome (it has game.ws in its file address http://www.runescape.com/game.ws), and while I can run this game in Firefox I can't seem to run it in Chrome. To overcome ...
1
vote
0answers
94 views

Cannot able to connect to another host

After few self tests, I thought I'm having a telnet problem. So I am recreating a shorter version of this question I have two machines: cassandra is running on one machine using IP 172.17.1.XX. ...
0
votes
0answers
54 views

Error thrown while loading gnu.io.RXTXCommDriver

I am trying to run a java program which list all available ports using Eclipse IDE in Ubuntu 14.04. My program is as follows: import gnu.io.CommPortIdentifier; import java.util.Enumeration; public ...
0
votes
0answers
77 views

Java error while launching RapidMiner on Ubuntu 14.04.1

I am trying to install RapidMiner Studio from my Ubuntu terminal. However I am stuck with the error below. I do have my Java 7 and set the JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64. ...
0
votes
0answers
53 views

Cannot build with maven using docker on a ubuntu server 14.04 vm machine

I'm using Ubuntu Server 14.04 on a local virtual machine for compiling. I have issues with the docker maven plugin, when I want to compile my Java Application with mvn clean install resigning in a ...
0
votes
0answers
24 views

How do I uninstall 64 bit java jdk so I can install 32 bit?

I thought my computer is 64 bit so I downloaded the 64 bit JDK and tried to install it but it failed. Then I tried installing the 32 bit JDK but it refuses as some of the 64 bit package are still ...
1
vote
2answers
72 views

ARM - Java 6 works, Java 7 doesn't [closed]

I have a ARM Android phone, and want to use it to test Java projects on it, because it's the only "PC" that I can have close to me all the day. Right now, I installed Linux Deploy and then created a ...
0
votes
0answers
51 views

Java algorithm performance difference between Linux and Windows

We observe a very significant performance difference of an algorithm in java between Linux (ubuntu) and Windows. The difference is 3x-4x in favor of Windows. Test machine is i3770 quad core (8 logical ...
0
votes
1answer
95 views

How to convert following CSV to Hashmap using JAVA [closed]

Suppose I have CSV file like this: Name Roll No. Address PhoneNo Jhon 909 CA 1 Jeff 101 CE 2 Jhon 121 US 3 Jhon 909 US 4 I want to generate ...
1
vote
1answer
81 views

Ubuntu 14.04 Server , launch jar in screen on boot/restart

Ive been reading everywhere on how to do this, and I understand how to do it, but for some reason I cannot get it to work correctly. I simply want to run a jar file on restart or boot, the jar file ...
0
votes
0answers
34 views

Jave heap space error appearing Linux ubuntu 12.04

I'm running my program and this error appears after some time java.lang.OutOfMemoryError: Java heap space at HadoopMyapp.HistogramPair.<init>(HistogramPair.java:25) at ...
0
votes
0answers
49 views

Problem with installing Java : in home directory (not root)

Quite new to Linux. Installed java by using JAVA_HOME and PATH in bash_profile of home directory. But the problem is when I echo the JAVA_HOME path: echo $JAVA_HOME which I have exported the value ...
0
votes
0answers
35 views

java.lang.OutOfMemoryError: Java heap space

I'm using Hadoop in my application, but just before the program exits I get this error java.lang.OutOfMemoryError: Java heap space I already modified the mapred-site.xml and added this property to it ...
0
votes
1answer
17 views

Messed up javac

Im relatively new to Ubuntu and was playing around with a few notes I received from one of my lecturers. I had a file called "eg.java" which was just a small file with no relevant info that I was ...
0
votes
0answers
47 views

Unable to run Junit 4's JUnitCore

I've downloaded the junit-4 and hamcrest jars, as specified on the Junit site: https://github.com/junit-team/junit/wiki/Getting-started However, I can't figure out why the junit-4 jar doesn't seem to ...
0
votes
2answers
46 views

Beginner Programming Issue with Javac

I am reading through an introductory book for Java programming and I am facing an issue from the get-go. I am told to run in the terminal javac Example.java. From that command, javac compiler is ...
0
votes
0answers
26 views

add-apt-repository command not found [duplicate]

root@modsmy:~# add-apt-repository ppa:webupd8team/java -bash: add-apt-repository: command not found I got this error when I type the following: add-apt-repository ppa:webupd8team/java