2
votes
1answer
30 views

Where I can find the Java Control Panel in Ubuntu?

It is very easy to locate it in Windows, but I can not find where I can access the Java's Control Panel in Ubuntu 14. Security level settings in the Java Control Panel I need to add one site ...
0
votes
0answers
9 views

Could not create the Java Virtual Machine on Ubuntu VPS with all the ram allocated to it

I'm trying to run a file on a vps with 384mb of ram, If I run the file with this command on terminal java -jar server.jar It just starts the process but with only 180mb approx allocated to it, I ...
0
votes
0answers
25 views

Java plugin doesn't work in Chrome in Ubuntu — how can I fix this?

I have Ubuntu 14.04 LTS (64 Bit) and Chrome Version 35.0.1916.153. I downloaded jre-7u60-linux-x64.tar.gz and extracted it in /usr/lib/java/ Then I created a directory named 'plugins' in ...
0
votes
1answer
61 views

Tomcat & Java not listening on IPv6 [closed]

We've got a webserver running Ubuntu 12.04 LTS, Tomcat 7 and Oracle Java. So far, we have been serving a web app on IPv4 address on ports 80 and 443 (80 redirects to 443). I'm trying to make the ...
0
votes
1answer
32 views

Execute dynamic command into all screen sessions

I am working on setting up a minecraft server network in ubuntu server 14.04 LTS. I have several screen sessions each with their own process running in them There are screens on: 2471.LobbyServer ...
0
votes
1answer
36 views

Java command only working in command line not in sh files

I have recently attempted to install java on ubuntu server 12.04 LTS. I wgetted the tar.gz file and extracted it to /opt/java and then added /opt/java/bin to the path variable. This all works ...
0
votes
0answers
25 views

Jabref & Java on ubuntu

I try to run Jabref on Ubuntu but got the following errormessage: /usr/bin/jabref: 304: exec: /usr/local/java/jdk1.7.0_25/bin/java: not found Java is however installed java -version java version ...
0
votes
1answer
34 views

Tomcat and git on ubuntu

I have a tomcat server on ubuntu and I have a directory where i store all my git repositories, how do I enable my server to accept git push via https. I use realms to allow access to the directory. ...
0
votes
2answers
2k views

Error: Could not find or load main class(Java)

I am using java in ubuntu machine. I can run java program from my eclipse. But I have some work that that I have to perform from command prompt. I could compile java program using javac ...
1
vote
0answers
296 views

Wrong OEM while trying to use FlashTool. (Android Rooting)

I am trying to follow this link to install FlashTool so that I can root my Micromax Canavas HD. My Dev Enviornment is Ubuntu 12.04 LTE 64 bit with support libs for 32 architecture. I as well changed ...
0
votes
0answers
149 views

Is it possible to uninstall and remove jetty in ubuntu?

Is it possible to remove and uninstall Jetty in ubuntu? I tried, as root, apt-get --purge remove jetty I got errors including this, E: Sub-process /usr/bin/dpkg returned an error code (1). And ...
0
votes
1answer
774 views

Environment variable for JETTY_HOME not working

I added an environment variable for jetty following this answer but I still get JETTY_HOME not set error: root@b:/opt# echo $JETTY_HOME /opt/jetty root@b:/opt# service jetty start ** ERROR: ...
1
vote
0answers
200 views

ubuntu 13.10 run chrome with oracle(sun) jdk1.7 32 bit and not 64 bit

I have (manually downloaded and extracted) both jdk 1.7 32 and 64 bit in two folders. I want chrome to run applets with jdk1.7 32 bit unfortunately it keeps asking me to install java plugin when i ...
2
votes
3answers
358 views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
129 views

update alternative error ,while installing jdk-7u45 in ubuntu 12.10

while installing jdk-7u45 in ubuntu12.10 used the following commands while instalation sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.7.0_45/bin/javac" 1 (/this ...
0
votes
0answers
27 views

Java in a browser on Ubuntu

So I am running an old version of Ubuntu and all of a sudden, my capabilities to run Java in a browser have stopped and it no longer executes properly. Someone else set this up for me, but I believe ...
0
votes
0answers
37 views

Removal of old version of java and install new java version

I have removed the older version of java installed (JDK 1.5) and have installed java 7. Now It shows both JDK versions in $PATH. I want to remove all installed java files and want to install new java ...
1
vote
1answer
258 views

Problems with Chrome in Ubuntu 13.10

Since I upragraded to Ubuntu 13.10, my Chrome (Chromium, actually) is misbehaving. LastPass does not work, some Java-enabled pages (the New York Times, for instance) crash. Does anyone know why, and ...
0
votes
2answers
163 views

Install Java on Unbuntu server (Parallels Plesk)

I'm trying to install Java on my webserver (Unbuntu - Parallels Plesk). I logged in to the server with PuTTY and tried some commands like: sudo apt-get install openjdk-6-jre or sudo apt-get ...
0
votes
0answers
62 views

Installing jdk 1.7.0 java -version not working

I have installed java jdk, following the steps as described here but the problem is when i do which jav it gives me the output /usr/bin/java but when i do java -version it says bash: ...
1
vote
0answers
25 views

JVM symlink messed up

I was checking the symlink for the jvm in my Ubuntu box. I don't understand why java-1.6-openjdk is symlinked to java-1.7.0-openjdk-amd64?
1
vote
1answer
470 views

ant not working on my ubuntu, command: ant -version

Following command ant -version is throwing error Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar screen shot: ...
1
vote
1answer
67 views

Change java plugin for a single user on ubuntu

I need to use a specific version of java plugin in firefox to use VPN software. I would prefer not to change the default version of java as that would affect other users of the system. To further ...
0
votes
1answer
477 views

.deb package for Ubuntu: correct Java dependency

I'm currently in the progress of creating a .deb package of our Java-based application, especially for Ubuntu users. Our application runs with the JRE 1.6 and 1.7 from OpenJDK (openjdk-6-jre-headless ...
0
votes
1answer
61 views

.deb package for Ubuntu: detect preferred Java version

See also my related question. Our Java application runs with Java 1.6 and higher, but we prefer 1.7 (because of certain additional features). When launching it how can I detect whether JRE 1.7 is ...
-2
votes
1answer
563 views

Run Jar file on Ubuntu at system startup

I'm trying to get a .jar file to run at startup on an Ubuntu machine, but I'm not getting anywhere. I've tried the instructions here ...
0
votes
2answers
591 views

Why can't I install Java's bin file on Ubuntu?

I have downloaded a version of JDK from the Oracle's site, the file is named jdk-6u37-linux-i586.bin. To install it on Ubuntu I made it an executable and run it: $ chmod +x jdk-6u37-linux-i586.bin $ ...
1
vote
0answers
604 views

Ubuntu 12.04 freezes on laptop when running memory/cpu intensive process

I have a Dell Precision M4500 laptop with 4GB RAM memory and Ubuntu 12.04 64-bit installed with 8GB of swap memory. After launching usual Java development environment (Eclipse, MySQL Server, SQuirreL, ...
0
votes
1answer
845 views

How to set Sun Java JDK as default on Ubuntu 12.04 LTS 64 bit

I have a 64 bit Ubuntu installation with OpenJDK as default Java version. jeffrey@jeffrey-Satellite-M645:~$ java -version java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.5) ...
0
votes
1answer
2k views

How to install JDK 6 from a bin file on Ubuntu 12.04 LTS 64 bit

The Android Open Source project requires JDK 6. From posts I have read all over, the Open Source JDk will not work. I have tried many things from numerous posts here and on other webs to no avail. ...
0
votes
3answers
904 views

how to install openJDK-7-jdk on Ubuntu for non-privilige user?

I have no root access to java JDK 7 so I install java JDK to a folder and extract it http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-i586.tar.gz Then if I call it: ./bin/java ...
0
votes
1answer
268 views

Install ant libraries on an Oracle Java 7 installation on Ubuntu

I was getting started on LibreOffice development and this link said to do sudo apt-get build-dep libreoffice and then do a git clone. Now, build-dep installs openJDK and I already have Oracle Java ...
1
vote
1answer
404 views

Ubuntu kill java program started by bash

I've got a problem with killing my Java Program on Ubuntu. I created the following init script: #!/bin/sh ### BEGIN INIT INFO # Provides: control ... # Required-Start: $remote_fs ...
0
votes
2answers
1k views

Ubuntu-Java not working in chrome or firefox

I installed JDK-7 on to my Ubuntu 12.10 and JDK is not running in any of my browsers but I can right click a .jar file and it will give me the option to open with OpenJDK Java 7 Runtime. I can also ...
0
votes
3answers
702 views

Ubuntu 10.10 -bash: java: command not found

I just bought fresh VPS with Ubuntu 10.10. I following this guide http://l2jserver.com/wiki/Setup_Server_-_Ubuntu for creating Lineage2 server, but this doesn't matter. I try to use command java ...
0
votes
1answer
124 views

Classpath reading in Linux

$ $CLASSPATH $ $ source .profile $ $CLASSPATH > bash: :/usr/java/connectors/mysql-connector-java-5.1.23-bin.jar: No such file or directory $ /usr/java/connectors/mysql-connector-java-5.1.23-bin.jar ...
0
votes
0answers
393 views

Installing Visual Paradigm for UML gives: java.lang.NoClassDefFoundError: java.awt.Container

I have recently downloaded Visual Paradigm for UML onto my system (Ubuntu 12.0.4 LTS). When I tried to install it, it failed. Here is the stacktrace: Unpacking JRE ... Preparing JRE ... Starting ...
1
vote
2answers
2k views

How can I increase the memory allocated to a process in Ubuntu server

I am trying to set up a highly concurrent messaging server and it appears to use a lot of memory. Currently our server OS is Ubuntu and server software is written in Java. Under load we get out of ...
0
votes
1answer
157 views

Oracle Java Ubuntu Installation - Javac not functioning

I have been trying to install Oracle Java 7 on Ubuntu 11.04. I was following the instructions given here Once I followed all the steps ( to the letter ), I tried running java -version which gave ...
0
votes
0answers
99 views

Incredibly slow response when reading from mounted shared network (windows share) drive within Java application

I wrote a Java application that checks and indexes huge archive files. When i test it on my local machine, everything is speedy and works like a charm. However, i need to process large quantities of ...
0
votes
2answers
610 views

Cannot execute java command on Ubuntu

I am using Ubuntu 12.04, installed JDK and interestingly have the following error. Why do I have this error though java file exist in there? appuser@securexmlgw-db:~/Downloads/jdk1.7.0_04/bin$ ls ...
2
votes
2answers
3k views

How to download and install specific version of sun-java6-jdk on ubuntu

I am using Ubuntu version 12.04 (via VM) I downloaded and installed java: sudo apt-get install python-software-properties sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" ...
1
vote
1answer
546 views

Package architecture (AMD64) does not match system (i386) on Ubuntu

I have Ubuntu: Ubuntu 12.04.1 LTS This is output of cat /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 47 model name : AMD Athlon(tm) 64 Processor ...
1
vote
1answer
113 views

What's difference between sun-java6-bin and sun-java6-jre .deb packages?

I just try understand what exactly difference between: sun-java6-bin and sun-java6-jre .deb packages? According to ...
3
votes
1answer
690 views

“compute launch button tooltip” error in eclipse

I'm trying to run Android SDK with Eclipse for the first time. I have never used Eclipse before and I'm running into the following error message over and over again, with no specific trigger: "compute ...
4
votes
1answer
4k views

Why does limiting my virtual memory to 512MB with ulimit -v crash the JVM?

I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing : import java.util.*; ...
4
votes
1answer
470 views

How to get back to Oracle Java after installing OpenJDK

I've installed Oracle JDK using this guide. Then I accidently installed OpenJDK(tried to prepare PC to build Android). How do I get back to Oracle Java? Can I keep OpenJDK, but set Oracle Java as ...
0
votes
1answer
552 views

Installing 64-bit Java on Ubuntu Server

I am trying to install 64-bit java on my Ubuntu server so I can host a Minecraft server. I have downloaded the package from java.com, extracted the file (it has no extension, for me it's just called ...
1
vote
0answers
503 views

Can't install umlet under Linux

I'm trying to install umlet. I have tried quite a lot of different configurations, but none worked. Whether trying from the .jar itself (java -jar umlet.jar), whether using it as an eclipse plugin, or ...
1
vote
1answer
480 views

Starting a java application as a service?

How can we start a Java made application as a background process in Linux (Ubuntu). In Windows using a .Net based application we could install it as a service. So what is the professional and secure ...