0
votes
1answer
14 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
91 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
0answers
25 views

Java reading a file from ramdisk during startup

I have installed Ubuntu on a CF card on a Alix computer. I configured a lcd4linux and created a RAMdisk (to not kill the CF card by accessing it multiple times). I installed java which is reading ...
0
votes
1answer
56 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 ...
0
votes
1answer
105 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
169 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
153 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
58 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
186 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
178 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
101 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
45 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
171 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
2k 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
214 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
65 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 ...
2
votes
1answer
247 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 ...
0
votes
0answers
183 views

Netbeans php bundle and then unable to set open jdk 7

Everything is described in title. I have ubuntu 12.04 and I installed Netbeans PHP bundle. Then I downloaded one for Java SE, chmod-ed the .sh file and started the script. It didn't create 'new' ...
4
votes
1answer
1k 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
143 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
428 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
314 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
264 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 ...
1
vote
0answers
69 views

want to install java in folder other than default

I want to install Java in the folder /java/bin so that which java should return /java/bin/java I am using ubuntu 11.04. Currently it shows after default installation #which java ...
0
votes
3answers
411 views

Installing java 1.4 on ubuntu 11.0

How do I install java 1.4 on ubuntu 11.0? When I type java -version, it lists out packages from java 6 and 7. On the sun website I can only see solaris installers for 1.4.2.
0
votes
3answers
627 views

How is it possible to install JRE on Ubuntu 11.04?

I have searched widely for an answer to this, but I couldn't find anything that would work. I currently have JRE version 1.6.0_26 (which I suspect is 6u26) however I want to upgrade it to the latest ...
0
votes
1answer
1k views

Installing a Java Jar file on Ubuntu 11.10

Is there a way to package a jar file (for example, a .deb) and install it on Ubuntu 11.10. Basically I want to automate the installation of Jar file when I create a Ubuntu VM (using KVM). Thanks.
0
votes
1answer
2k views

how to uninstall the jdk 1.7.0 in the ubuntu

i encounter a very strange problem,and here is the detail: i'm going to uninstall the jdk 1.7.0.but when i use the rpm to check the appropriate name of the package,it prompt nothing.Anyway,when i use ...
0
votes
1answer
862 views

Changing Java from OpenJDK to SunJava

I want to change OpenJDK to SunJava in my ubuntu linux desktop , i have downloaded the "jdk-7.tar.gz" from sun's website, but there problem is how to make the system to use the newly downloaded java ? ...
0
votes
1answer
5k views

How do I upgrade Sun Java (JRE) on Ubuntu 11?

On Ubuntu I've installed the Sun JRE from http://ppa.launchpad.net/ferramroberto/java/ubuntu oneiric and am at Version 6 update 26. (Outlined in the accepted answer here) I downloaded the bin file ...
0
votes
1answer
94 views

Java programs wont run in Ubuntu

I have downloaded the java jdk in the terminal window of Ubunutu. I am trying to trace the number of system calls a No-op java program runs for my computer science class. the program looks like so: ...
0
votes
1answer
102 views

What is the best type of port to set in this java code if I want to test a mobile phone communication with a Linux computer?

There is a mobile phone device and a Linux computer server. I attached the mobile phone's serial cable to the mobile phone device ( Alcatel OT-806D ) and at the usb port of the computer. I chose "COM ...
8
votes
4answers
2k views

How to know that Java is installed in a Linux system?

I am using Ubuntu. How to know if Java is installed ?
83
votes
5answers
157k views

How do I install the Sun Java SDK in Ubuntu 11.10 Oneric and later versions?

Since 11.10 Ubuntu does not provide the sun-java-jdk, how do I install it?
1
vote
1answer
2k views

How to update maven version on ubuntu machine?

I am working on Ubuntu linux machine. When I open a terminal window and type : mvn -v I got the output: Apache Maven 2.2.1 (rdebian-1) Java version: 1.6.0_26 Java home: ...
1
vote
1answer
639 views

Getting Java 7 to run on Ubuntu 11.04 [closed]

I don't know if it makes a difference, but I downloaded the SDK from the official oracle site and I picked the linux x86 compressed binaries (second item on the list). I'm on Windows 7 with an i7, ...
0
votes
2answers
415 views

How to set Environmental Variable?

Please tell me how to set environment variables JAVA_HOME MAVEN_HOME TOMCAT_HOME PATH I installed Java via terminal apt-get command, Tomcat and Eclipse by downloading tar.gz files and extracting ...
1
vote
1answer
900 views

Run Java Project from Ubuntu Terminal?

I have a small java project that handle connections. In order to run it from the terminal I have to cd into the folder that contains the source and run the following command: java -cp classes ...
2
votes
1answer
437 views

Java Development Kit (JDK) from ftp?

I need to download specific JDK version but from console in Linux. I have not lynx/elinks etc linstalled. Where can i download Java Development Kit (JDK) from ftp ?
2
votes
2answers
530 views

How to install Java and Groovy in Ubuntu?

I'm a new user to Ubuntu! so I need your help. How do I install Java and Groovy in Ubuntu?? Please give step by step instructions.
0
votes
1answer
352 views

Manually install Java plugin

I'm trying to install this plugin: http://www.aleks.com/downloads/linux_jvm , and cannot seem to find the correct directory to put it in. I'm using Ubuntu 10.10, and when I run the following, I get ...
0
votes
2answers
4k views

Setting JAVA_HOME on Ubuntu 10.x

I'm trying to get the Rhodes framework installed so I can develop Android apps. This requires that I install the SUN JDK and add JAVA_HOME and JAVA_HOME/bin to path. I thought I could solve this by ...
1
vote
1answer
1k views

How to install SmartSVN on Ubuntu?

I want to install SmartSVN on Ubuntu. I have installed the latest sun-java6-jre package, but still I am getting such errors as An incompatible Java version has been detected which has been ...
0
votes
1answer
419 views

why “java -version” may crash?

On Ubuntu Linux 10.10 (and I had the same problem on 10.04) java (from openjdk-6-jre-headless) crashes for unknown reason: me@ub:~$ java -version # # A fatal error has been detected by the Java ...
0
votes
1answer
1k views

Soundsc()/Sound()/Wavplay() not working in Linux (Ubuntu 10.10) with MATLAB 2009b [closed]

I'm typing the following in MATLAB: aaa = wavread('test.wav'); soundsc(aaa); I get the following error: >> soundsc(aaa) ??? Error using ==> playsnd at 18 The requested audio format is not ...
0
votes
1answer
2k views

Not able to install JDk in my ubuntu 9.04, getting Error: rpm: not found

:~$ !529 Desktop/./jdk-6u21-linux-i586-rpm.bin Unpacking... Checksumming... Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu). inflating: ...
1
vote
2answers
14k views

How do you enable webcam support in Facebook for Ubuntu 10.04?

I think I have finally arrived at an insolvable equation: Chromium v.7 + Ubuntu 10.04 + Sun Java 6 + Webcam + Facebook + Flash 10 = non-functional All of those items listed above are potential ...
1
vote
2answers
317 views

How do I get the Sun Java 6 package on Ubuntu

I have Ubuntu. I want to install the Sun JDK version 6 using the command line (apt-get). How do I do that. What is the name of the package? Or is the open JDK version the only option.
0
votes
1answer
457 views

Connection refused to a server running on local network

I'm hosting a game server on my laptop running Ubuntu 10.04. My friends can connect to the server completely fine, but when I try to access it, I get a "Connection refused: connect" error. All the ...
2
votes
2answers
275 views

Any benefits of sun-java over openjdk on Ubuntu 10.04?

Are there any benefits of running Sun's java on Ubuntu 10.04 -- over the default openjdk, or is this a legacy issue?

1 2