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

Open Java program from SSH into VNC display

If I have an Ubuntu 12.04 system that has LXDE and TightVNCserver installed and run a session on port :1 (not tunneled through SSH) and an active SSH connection, then how can I use SSH to start a ...
0
votes
1answer
148 views

Java installation error using apt-cacher

I'm getting this output when I trey to update/install oracle-java7 or from webupd8 ppa: Downloading Oracle Java 7... --2014-11-19 16:35:02-- ...
0
votes
1answer
101 views

I can't install openJDK 7 in ubuntu 12.10 (32-bit)

Using Ubuntu Software Center I tried to install OpenJDK 7 but got the following notification. **Package dependencies cannot be resolved** This error could be caused by required additional software ...
2
votes
0answers
122 views

The installed java is version 7u65, yet the ubuntu package is 7u71, why the discrepancy?

I'm running Ubuntu 14.04 and need to use Java 7 update 71. It seems like openjdk has been updated in the Trusty repos to update 71, yet even if I install the update java seems to still be at version ...
0
votes
1answer
166 views

IcedTea Doesn't Run Properly in Firefox

I have Java 7 installed for Ubuntu 12.04 and I have IcedTea installed in Firefox (33.0). Some Java plugins are not working correctly. For example: starting from the IcedTea-Web-Tests (see the IcedTea ...
0
votes
0answers
92 views

Error: Could not find or load main class org.apache.pig.Main

When I try to move on into pig local mode, this kind of error occurs: "Error: Could not find or load main class org.apache.pig.Main" Anyone there to solve this issue?
-1
votes
1answer
98 views

Java Download for Ubuntu 14.04 [duplicate]

I needs help actually i am trying to download java and eclipse. How can i download java for Ubuntu 14.04.
0
votes
1answer
501 views

ubuntu 14.04 64bit Matlab 2014b installation

i tried now for days to install matlab 2014b on ubuntu14.04. but it never worked, i am now in a situation where i dont know where to look and search for. my error messages when i want to run the ...
1
vote
1answer
84 views

SIGBUS error with JRE when using eclipse

I encountered a SIGBUS error when starting up eclipse. There was nothing wrong before this, I've just turned on the laptop and the error appears: $ eclipse # # A fatal error has been detected by the ...
0
votes
0answers
18 views

can I use same system for the implementation of multicast?

While implementing multicasting in java socket programming,,I decided to make groups based on the interfaces I have ,for eg: anupam@JAZZ:~$ netstat -g IPv6/IPv4 Group Memberships Interface ...
-1
votes
3answers
245 views

Eclipse crashes after upgrade from Kubuntu 12 to Kubuntu 14.04 [closed]

I 'upgraded' from 12.04 to 14.04 and I'm having a problem .I can't seem to fix with eclipse. Specifically, eclipse crashes... consistently. I've looked over the web for a few days and I can't seem to ...
1
vote
1answer
127 views

How much space do i need for ubuntu dualboot?

I'm using windows 8.1 and i want to learn linux and also want to use it for java and clojure development. I'm gonna use IntelliJ IDEA or Eclipse. How much space i need to save on my localdisc for ...
0
votes
1answer
131 views

Oracle Java 8 “This plug-in is not supported”

I had Java 7 working nicely on Ubuntu 14.04. Now I have Java 8 (and not Java 7) on a new installation of Ubuntu 14.04. I tried to use Java 8 for the first time today, including adding the URLs to the ...
0
votes
0answers
63 views

how to fix a port number statically for client request on client side?

I am on a Assignment to implement unicast multicast broadcast in java socket programming. While implementing multicast part I decided to do it on my own system itself, so for the purpose of ...
1
vote
2answers
193 views

Java game loop causing Ubuntu to freeze

I have been doing front and back end web programming for over a year now, and now I am trying to learn 2D game programming in Java. Based on various sources on the web as well as one from my friend ...
0
votes
1answer
53 views

Java process exceeds allocated ram and crashes VPS

I have a vps running ubuntu Ubuntu 14.04.1 LTS with Java version 1.7.0_65. I am running a minecraft server (I have attempted to use different jars for the server). I execute that jar using the ...
0
votes
0answers
77 views

TightVNC Server not working via Java Viewer at school

When I try to connect to my computer from school, which they have Linux computers with restrictions, I get this: java -jar '/home/alumno/Escritorio/carpeta sin título/tightvnc-jviewer.jar' nov 05, ...
0
votes
2answers
374 views

How to have one browser with Flash and Java?

I can't run Java web apps in Chrome/Chromeium and I can't run Flash in Firefox (Both sites shown in images works in opposite browser) Is it possible for me, running Ubuntu 14.10 to use one ...
0
votes
0answers
57 views

copy the MySQL Connector/J jar file to the domain-dir/lib directory

Where is the MySQL JDBC connector JAR supposed to go? To do this, copy the MySQL Connector/J jar file to the domain-dir/lib directory. For example, copy mysql-connector-java-5.1.30-bin.jar to ...
0
votes
1answer
152 views

how to install and configure Glassfish 4

How do I install Glassfish 4.x and run it on port 80? While it's easy enough to download Glassfish and unzip it, should it go in a particular directory? Which user should start and stop the server? ...
1
vote
1answer
108 views

Recover only Java source code in photorec

I would like to recover only Java source code and XML files in photorec, but they are not listed on the list in the File Opt. There is Java class, but I'm not looking for files with .class extension ...
0
votes
0answers
38 views

Hard time on posting on Ebay

I'm trying to sell stuff on ebay and I'm having issue with JAVA "component" that doesn't work & I cant complete or save my listing. Chrome is a no go and firefox will open a java "popup" but with ...
0
votes
0answers
96 views

High CPU utilization

I have noticed recently a high CPU utilization in Ubuntu. It seems to occur often when I use Eclipse which is a java-based IDE, but I have noticed it occurring even when Java is not running. I have ...
0
votes
0answers
41 views

Message: JAXP00010001: The parser has encountered more than “64000” entity

I'm running CKAN.org on Ubuntu 12.04 LTS. Perfoming certain requests results in an error in the apache-log: [Thu Oct 30 13:51:15 2014] [error] [client 127.0.0.1] SearchIndexError: HTTP ...
0
votes
2answers
259 views

Installing Lubuntu Oracle 11gr2 for Practice

For the sake of education, my goal is to create a light Linux OS that can stay updated (for free) and run Oracle 11g and all its tools and also work with my wifi drivers. I tried using this guide to ...
0
votes
0answers
29 views

I have an Issue With Java! Scottrade! [duplicate]

My problem is that I downloaded a file with the the extension .jnlp . I have the necessary installed requirements Java Runtime Environment (JRE) 7 openjdk. When I try to open the necessary/required ...
0
votes
2answers
667 views

How to increase JAVA Heap Size?

I need to increase the default java heap size to get OpenNMS Linkd service running smoothly, and fortunately I have 4/5 of my total installed memory free at any given time even when their is maximum ...
1
vote
1answer
2k views

Oracle 12c Installation Error: “Exception … Could not initialize class sun.awt.X11.XToolkit”

I have been trying to install oracle 12 c on Ubuntu 14.10 but facing the below mentioned error.Could some one please check this and advise me how to fix this error? Checking Temp space: must be ...
0
votes
0answers
205 views

Eclipse Luna(4.4.1) can't find the JRE for jdk1.8u25

I recently installed jdk1.8u25. The java codes are working fine in the terminal but in eclipse it is not working. Can anyone give any solutions for this?
1
vote
2answers
190 views

Can't figure out how to run eclipse (missing JDK/JRE)

I'm very new to Linux and coding, I'm really interested in learning and really want to contribute to this process here at Ubuntu as soon as possible. I downloaded Eclipse Luna. When I try to run it ...
0
votes
0answers
89 views

Can't create Virtual Android Device in Ubuntu. Fatal error detected by JRE

I installed Eclipse and OpenJDK java 7. Ran the command android avd in terminal and then specified the specs for my virtual android device. Upon clicking 'OK' button. This is what it showed.! ...
4
votes
0answers
415 views

Android Studio doesn't render Ubuntu Mono Font well

It doesn't even recognise it as a Monospaced font. Then it only shows anti-aliasing when the font size is set to 20 or over. But for other fonts it does it at 16. The result is ugly looking fonts and ...
0
votes
1answer
2k views

ADT plugin Error says Location of the android sdk has not been set up in the preferences

I'm using Ubuntu 14.04. I've downloaded Eclipse Luna (4.4.1) and installed Android ADT plugin using this link https://dl-ssl.google.com/android/eclipse/ I'm getting error as 'Location of the ...
0
votes
1answer
232 views

Installing latest Java 8. Ubuntu 14.04. (Need Guide)

I need Java to log into my bank (passwords etc) http://java.com/en/download/linux_manual.jsp Recommended Version 8 Update 25 I am very new to Linux/Ubuntu. But i did follow a guide to use Terminal ...
2
votes
1answer
56 views

yEd shows no windows

I want to use the latest yEd graph editor on my machine with Ubuntu 14.04 running on it as the only OS. I downloaded yEd installer script for 64-bit Linux. Also: $ java -version java version ...
0
votes
0answers
34 views

Bootable pre configured live image - no installation on pc

I would like to build my own Ubuntu disc. I would like to make a disc like, "if you want to try Ubuntu before installation" What I need is, to make a pre configured disc with Java installed, and on ...
0
votes
0answers
124 views

How to Upgrade TomCat and Java Versions on Ubuntu Server 14?

I've Ubuntu Server 14 with TomCat 7.52 and Java 1.7.0_65. I'd like to upgrade TomCat to 7.56 and Java to 1.7.0_71. How can I do this? I want to update for example TomCat because going to manager ...
0
votes
1answer
1k views

Failed to Fetch Trusty?

so here's my problem, i update every once in a while but this time it's different, it throws me an error: W: Failed to fetch cdrom://Ubuntu-GNOME 14.04.1 LTS _Trusty Tahr_ - Release amd64 ...
0
votes
0answers
34 views

SSH login glitched up

After I login to my server using ssh and PuTTY, the window closes right away. I'm currently connected to the window, because I was connected before, but when I try to type any command it shows this: ...
0
votes
0answers
69 views

How to set the path to xstream in Ubuntu 14.04

I am using Ubuntu 14.04, and installed my version of jdk using sudo apt-get install openjdk-7-jdk Now I installed xstream 1.4.7, but whenever I compile any java files using the package, I get an ...
0
votes
1answer
256 views

Setting up libgdx on ubuntu 14.04

I'm on ubuntu 14.04 LTS and I'm actually learning how to make games in java, I'm going to learn game development with libgdx. The tutorial says that I have to download the setup app, to put it on the ...
0
votes
1answer
2k views

How do i enable core dumps so minecraft will work

I recently updated to 1.8 im running ubuntu 12.10 and every time i try to start up it says # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at ...
0
votes
0answers
80 views

How do you enable core dumps on minecraft

I recently updated to 1.8 im running ubuntu 12.10 and every time i try to start up it says # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at ...
0
votes
0answers
29 views

Building reverse engineered project

I learn development for android, I would like to see how certain application is built, I also would like to adjust its UI controls positions for sole use. So, I decompiled the application and try to ...
0
votes
0answers
346 views

Help installing Matlab R2014b on Ubuntu 12.04

First of, I've just recently started using Ubuntu and I really don't know my way around it. I have installed it on my chromebook, because I need access to some programs that don't exist as chrome ...
0
votes
1answer
35 views

CloudStickyNotes.jar not working in gnome

I am trying to use this Java application called Cloud Sticky notes within Gnome, I've used it on Windows and within Elementary os without issue and I've tried to use it in 3 different versions of ...
0
votes
1answer
314 views

install specific java version for 12.04

I updated my 12.04 server with latest packages among them was an update to java 1.8u20. Now I just found out my application is not running anymore because of java 1.8u20. Because of this reason I ...
0
votes
1answer
54 views

Creating a Desktop Application for Ubuntu?

I want to create a desktop application and use it on Ubuntu based distributions. I have very good knowledge on Java Desktop Applications. But look and feel of Java Desktop Applications in Linux ...
0
votes
0answers
121 views

Create socket on local computer to access device shell via adb

I'm writing an application and one of the things i'm trying to do is give the users access to the devices shell(via adb -s DEVICE_NAME shell) but over telnet/ssh. meaning, is there any way to create a ...
0
votes
0answers
597 views

Problems installing Oracle java 1.8

I'm running Ubuntu 14.04. I'm trying to install Oracle java 8. I downloaded the .rpm file published by Oracle: jdk-8u20-linux-x64.rpm and then ran the following commands trying to install it: $ ...