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
0answers
41 views

tomcat returns major minor version 51 (SEVERE)

My development machine has the following configuration java -version java version "1.7.0_67" Java(TM) SE Runtime Environment (build 1.7.0_67-b01) Java HotSpot(TM) Server VM (build 24.65-b04, mixed ...
2
votes
1answer
80 views

Do I need to Install jdk?

I realized that my java compiler wasn't up-to-date on my ubuntu 12.04 $ sudo update-alternatives --config javac There are 2 choices for the alternative javac (providing /usr/bin/javac). Selection ...
0
votes
0answers
186 views

Ubuntu 14.04 w/ Unity - java application gui does not show

When I open certain java-powered applications, the primary GUI will not show up. However, the GUI windows for misc functions such as the "Tips and Tricks" type windows, project creation, save dialog ...
0
votes
3answers
66 views

Downloading and installing files

I'm pretty new to Ubuntu. When I first got my PC I tried downloading a client to play runescape on (Orion Pro) The file downloaded fully but never gave me an option to install? Also the same for java ...
0
votes
1answer
93 views

provide more than one processor with taskset

I am using taskset to assign CPU cores 4-7 to a java process that normally uses ~200-400% CPU. The cores 4-7 were isolated on boot so only the java process should run on them. Eventually taskset ...
0
votes
0answers
120 views

“Server not found” “Firefox can't find the server at www.%u.com.”

When launching the Firefox browser from a java application (such as Minecraft or Java Open Street Map), I get: Server not found Firefox can't find the server at www.%u.com. The command line ...
0
votes
0answers
77 views

Vuze not searching Java Errors

I just finally updated Ubuntu to 14.04 and have been manually going through and making all my programs work again. Vuze seems to be the only one I can not get to work. I got the new 5.4 version ...
0
votes
0answers
24 views

Environment Vars being changed on boot

I installed java-8-oracle the other day, and I didn't like it, so I deleted the java-8-oracle folder. I also installed java from java.com into /usr/java/jdk1.8.0_20, and set the environment variable ...
0
votes
1answer
35 views

Why there is no need to give path as in windows to reffer other application from one package

I connected mysql with c++ in ubuntu , used GCC compiler from terminal that time i didn't give any path for mysql.h. and i wanted to play video using vlcj in java swings. In the program we need to ...
0
votes
0answers
41 views

How can I use eclipse for Java in Ubuntu

I'm studying on java. Recently, upgraded to Ubuntu as my operating system. I'm very new at ubuntu/linux, SO I'm not understanding something... I installed eclipse from Ubuntu Software Center. Also ...
1
vote
0answers
71 views

Freemind java problem in 14.04

Trying to run freemind 0.90 on Lubuntu 14.04. I have installed oracle java 7 and get following error: [warning] /usr/bin/freemind: JVM flavor 'java6' contains illegal characters [warning] ...
0
votes
0answers
184 views

Bug Eclipse Luna + Java 1.8 + JFrame CRASH

I am Java programmer and am having trouble working with the JFrame, "Design" in linux, have tested various distributions .. all are having the same problem .. during the design of the windows, the ...
0
votes
0answers
150 views

I cannot run a .sh file

Here is the situation: I try to run the file smartgithg.sh I downloaded the file from this website. When I had the previous version it was running ok! If I double click the file it does not do ...
0
votes
0answers
205 views

Error: Unable to access jarfile spl.jar for stanford portable library

I'm trying to install the Stanford library for Harvard's CS50 but I'm running into a few problems... I've got the .h files in usr/local/include/spl and I've got the libcs.a in usr/local/lib but I'm ...
1
vote
2answers
474 views

Shell script running but not opening terminal [duplicate]

I'm having a problem executing a shell script in ubuntu, the script is set as executable and I enabled the execute instead of view option in Nautilus and the script does what it's meant to do which is ...
1
vote
1answer
40 views

Where is `libX11.so.*` corresponding to LXDE?

I'm trying to link Matlab to the latest JRE, and I'm getting an extremely slow GUI for which the solution seems to be to link Matlab to an older X11 library. Since the problem is essentially caused ...
0
votes
1answer
79 views

Eclipse does not open

I've installed Eclipse 3.8 through Ubuntu Software Center and when I open it the loading window pops up and freezes. Eclipse never opens... When I try to launch eclipse from Terminal it doesn't show ...
0
votes
1answer
259 views

Problem with Java and Ameritrade “thinkorswim”

Ubuntu version 12.04 Java version "1.6.0_32" OpenJDK Runtime Environment (IcedTea6 1.13.4) (6b32-1.13.4-4ubuntu0.12.04.2) OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) Here is the problem. ...
4
votes
1answer
594 views

CrashPlan desktop app suddenly terminated after Splash Screen

CrashPlan desktop app suddenly terminated after Splash Screen This was a fresh CrashPlan install on Ubuntu 14.04 amd64 with Oracle Java 7 JDK. Most of /usr/local/crashplan/log/....log was not ...
2
votes
0answers
286 views

Desktop shortcut and lock to launcher for phpstorm failed to launch program

I have just installed phpstorm, phpstorm can be opened via command line but I can't open the program via launcher or desktop shortcut and nothing error shown. - My phpstorm.desktop code : [Desktop ...
0
votes
0answers
24 views

Alternatives to StartupWMClass in .desktop

is there any alternative to StartupWMClass in order to group a java application under the same launcher in unity? My problem is related to the fact that some applications, such as SqlDeveloper 4, ...
1
vote
0answers
136 views

Java & High CPU usage

I use a certain java application to trade the stock market and it consumes 90% my CPU power. And the CPU temp usually remains around 90c. This is a real headache. What causes this problem and what are ...
0
votes
0answers
19 views

How do I turn a jar file into a package?

I have a jar file that contains my app and I want to be able to make this into a deb package so that someone can simply type apt-get install protocasedesigner and have it install automatically onto ...
1
vote
1answer
28 views

Cannot install g++ 4.8 on OpenVZ

I have everything set, but doing apt-get install g++4.8 gives me the following java (!?!?!?) related error. Setting up ca-certificates-java (20110426ubuntu0.10.04.2) ... Error occurred during ...
-1
votes
1answer
109 views

Ubuntu 14 JVM - Could not reserve enough space for the card marking array

After upgrade to Ubuntu 14, I have issue with all JVMs crashing. I reinstall Java (oracle and openjdk versions). I spend sometime tuning the JVM heap parameters, and now finally, I can run Java ...
-2
votes
1answer
172 views

OpenJDK patched with font fixes mess up google chrome fonts

I've installed the patched OpenJDK in order to get proper font rendering in WebStorm 8. It works fine but i realized chrome has some font rendering problems since then. I only see this in chrome so ...
0
votes
2answers
204 views

How to open program from process id?

Is there any way to open program which is running in background. I've developed an application in java for ubuntu and want to open that application through its pid if it is already being running just ...
0
votes
2answers
257 views

Matlab 2014a interface started lagging on Ubuntu 14.04

My Matlab 2014a interface really started lagging recently, after months of smooth and fast performance, on Ubuntu 14.04. Both the main Matlab window and the code editor window has a persistent ...
0
votes
1answer
1k views

How can I scale Java-based applications up for a high DPI screen?

There are some applications (mainly java based) that don't follow the global 2x scale I set in the screen-settings. So these apps are really tiny on my high DPI screen with 3200x1800px. How can I get ...
0
votes
0answers
94 views

Video Stream Not Being Rendered Properly v4l2loopback WebcamStudio

What steps will reproduce the problem? Setup an Image/webcamfeed/video v4l2loopback option try streaming it What is the expected output? The Image/video/webcam feed What do you see instead? Don't ...
0
votes
1answer
526 views

glassfish: Authorization has been refused for credentials [user: admin] given in this request

On Ubuntu 14.04 Tahr and Glassfish 4.1, I managed to reset my glassfish master password as so: ejb@ix:~$ ejb@ix:~$ glassfish4/glassfish/bin/asadmin change-master-password Enter the current master ...
0
votes
0answers
50 views

Specifying path to java interpreter while installing Java Wireless Toolkit

I have already installed JDK. I could run java programs through command line as well as through Netbeans IDE. Now I want to install java wireless toolkit. I have downloaded the "*.bin" file from ...
0
votes
1answer
55 views

hbase client running output “Usage: mapfile infile outfile”

I have made a simple client application in java for Hbase to connect with it and show results for some queries e.g list, scan etc. But When i run my application in eclispe, there are no errors but ...
-1
votes
1answer
174 views

Java in Chrome 34

I have installed the old version of chrome (34) because it is supposed to be able to work with java (as others have reported.) my question is, how do i get java to work in chrome 34? I have tried to ...
2
votes
0answers
216 views

How to use Firefox AppArmor profile with IcedTea Java plugin on Ubuntu 14.04?

Whenever I set up Ubuntu on a new system, I active the default AppArmor profile for Firefox via sudo aa-enforce /etc/apparmor.d/usr.bin.firefox Doing this on Ubuntu 14.04, however, makes Java ...
0
votes
1answer
27 views

Binary archives of OpenJDK for ubuntu

My goal is to have multiple version of java 6 and multiple version of java 7 installed on my ubuntu in order to do some tests with different versions of java. I found instructions to install oracle ...
1
vote
0answers
117 views

Start up a .jar GUI application from Login Screen [closed]

I have raspberry pi and I have compiled uniCentaPOS in a .jar file. However I want to start this GUI application without the full desktop. I just want to application running with the GUI. I have ...
0
votes
0answers
57 views

Xbox 360 controller shows up on jstest and configures, but doesn't work with minecraft

I recently recently installed Ubuntu 14.04 on and Acer C720 and installed Minecraft (this is going to be my son's computer). I installed xboxdrv and disabled xpad. When I used jstest the xbox 360 ...
1
vote
2answers
313 views

How to run .sh through terminal without using Nautilus Ubuntu 14.04 [duplicate]

I have an .sh file that looks like #!bin/bash exec /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/ java java -jar /home/me/myfolder/my.jar I've made this file executable and it works fine when in the ...
0
votes
1answer
74 views

Setting up Juniper VPN on 14.04

I saw this post, but unfortunately continue to have issues as seen here: Does anyone have suggestions for fixing this issue? Thanks!
0
votes
1answer
779 views

how to install java 1.5 jdk in ubuntu

I am getting this error when trying to install java 1.5 jdk sudo apt-get install sun-java5-jdk Reading package lists... Done Building dependency tree Reading state information... Done Package ...
2
votes
1answer
118 views

Using libreoffice base as GUI for MySQL database (os- ubuntu 14.04) [closed]

I have been trying to deploy one of my projects that uses jsp for the front end, tomcat7 for the server and a mysql database. I tried integrating the mysql database with the libreoffice database ...
0
votes
1answer
92 views

Mastering Chemistry and Ubuntu 14.04

For my General and Analytical Chemistry course at college there is a site called Mastering Chemistry, made by Pearson, that features different questions types. When I went to solve some problems, I ...
1
vote
1answer
172 views

Installing oracle java versions

I went to the website to download (Java Platform (JDK) 8u20 ), http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download ORACLE java for my machine. I was ...
7
votes
1answer
38k views

How to install Oracle Java on Ubuntu 14.04? [duplicate]

I am using Ubuntu 14.04.1 LTS, x64 architecture, and I specifically need to install Oracle Java. Now I know there are some instructions on the website which I follow but the same website does not ...
-1
votes
2answers
466 views

Running .jar File using JDK on Ubuntu 14.04 [closed]

I install JDK on my Ubuntu 14.04 so I can use Netbeans and Android studio. I download a .jar file in the internet and I want to run it on my PC. My problem is, I cannot find java to run this file. I ...
1
vote
1answer
153 views

MATLAB startup error ubuntu 14.04

I'm trying to run /usr/local/MATLAB/R2012a/bin/matlab on Ubuntu 14.04, but on startup it gives me the following error message: Exception in thread "main" java.lang.NoClassDefFoundError: ...
0
votes
0answers
320 views

eclipse juno crash after Ubuntu update from 13.10 to 14.04

I try to update ubuntu 13.10 in 14.04 after update ... Eclipse emitted this problem A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa75bc86d, pid=3118, ...
1
vote
0answers
47 views

Apport is not creating .crash file for java crashes

I am having issues on production server, It is groovy/grails application and I am using quartz to run many crons. There is one cron which is when enabled crashes the JVM. I have no idea why. I can't ...
0
votes
0answers
100 views

jProfiler GUI not showing properly on Ubuntu 14.04

I'm not sure if this is a java problem or is related to ubuntu. I'm on an ubuntu 14.04 machine and I have both Java 6 (jdk_1.6.0_43) and Java 7(jdk_1.7.0_51). JAVA_HOME is set to java 7 and that is ...