Java is a general-purpose programming language and a computing platform called the Java Virtual Machine (JVM).

learn more… | top users | synonyms

6
votes
1answer
18k views

Installing openjdk-7-jdk does not update java (which is still version 1.6)

I am having issues updating Java. I am running Ubuntu 11.10. I can execute sudo apt-get install openjdk-7-jdk and it completes successfully. javac -version is 1.7, however java -version is 1.6. This ...
0
votes
2answers
762 views

Do I have duplicate packages?

I'm on linux mint 12, when i run sudo apt-get update i see: W: Duplicate sources.list entry http://www.duinsoft.nl/pkg/ debs/all i386 Packages ...
5
votes
4answers
1k views

Is there a JVM daemon?

I'm curious, is there a JVM which runs as an OS daemon, and forks when a new process should be started in it ( i.e. like init, or zygote process on Android )? If no, why not? I am not talking about a ...
0
votes
0answers
352 views

Remove duplicated Java packages

I'm on linux mint 12 I have installed Java, following the NetBeans instructions. It wasn't working on chrome, so I installed it like that: sudo echo 'deb http://www.duinsoft.nl/pkg debs all' ...
4
votes
1answer
891 views

How do get unix sort to sort in same order as Java (by unicode value)

I shell out sorting to the unix sort command in a Java program I've written. However I am having problems arising from Java's string comparison behaving differently than the comparisons done by sort. ...
1
vote
2answers
3k views

How to uninstall java on Linux Mint 12

Today, I downloaded the latest java jre which is a .bin file By mistake, I installed it on my desktop by running ./jre. I want to remove this installation, move the .bin file to somewhere else and ...
7
votes
3answers
8k views

Command Line Tool for monitoring Java Heap

Is there any command line tool for monitoring the heap size usage of Java in CentOS?
6
votes
2answers
1k views

Java problem - nearly looks like a virus?

I have a weird problem since about a week. When I wake up my computer from suspend, a java process starts and consumes about 170 % CPU capacity. I analyzed the java process a bit: it connects to ...
3
votes
2answers
443 views

Capturing new output after deleting the output file

I'm runnig a java server on Debian with this command: java -jar myapp.jar [args] >> log.txt Once I gzipped the log file to send it and then I realized the original file was gone, leaving me ...
2
votes
1answer
161 views

How to uninstall java from sco openserver 5.0.6?

I have installed Java (J2SE 1.3.1_21) by following this tutorial: http://www.anyang-window.com.cn/in-the-sco-openserver-506-installed-on-j2se-13106-development-environment/ Now, I want to uninstall ...
3
votes
2answers
567 views

Java process, swap (/proc Solaris10) memory highly utilized

How can I analyze high swap memory utilization of Solaris 10 for Java processes?
3
votes
3answers
856 views

Monitoring progress/liveness of background jobs

I have started a background job. Is there a way to know how it is progressing, and whether it has stopped? My command line is like: java weka.classifiers.trees.J48 -t data.arff J48-data.model ...
3
votes
2answers
2k views

Why isn't my environment variable visible from the command line?

I'm trying to run the James SMTP server on Lion (Mac OS X 10.7.2). When I do this: sudo JAVA_HOME=/Library/Java/Home ./james-2.3.2/bin/run.sh it works fine. However, I'd like to make JAVA_HOME an ...
2
votes
0answers
166 views

Any way for Unix to ignore lpoptions and let Java do it's job?

I'm using the javax.print API to print a Jasper Report on Debian Linux. For some reason the saved lpoptions (CUPS settings) always override settings chosen on the Java Print dialog. At this point the ...
1
vote
2answers
381 views

How to log the output of a daemon application?

I have a Java program running as a daemon (thanks to YAJSW, a wrapper for java). The thing is that this java application writes several lines of console text, (simply imagine a Hello World App). If I ...
5
votes
2answers
6k views

Looking for a Java class in a set of JARs with find, unzip, grep

I was trying to find the JAR containing a Java Class. JARs are in zip format. My first attempt was: $ find -name "*3.0.6.RELEASE.jar" | xargs -l1 unzip -l \ | grep stereotype.Controller ...
0
votes
1answer
527 views

Enter process running in background/bring to foreground [duplicate]

Possible Duplicate: How can I disown it a running process and associate it to a new screen shell? I started a java client using nohup to get it to run in the background (needed to log out ...
1
vote
0answers
196 views

Rogue Java process brings my computer to a halt

In reference to my earlier post: Is there a log of past threads that are now closed? I gave the process a kill -STOP signal and started examining the details. I can't seem to figure out why it is ...
2
votes
1answer
1k views

Netbeans has no display on my computer

I installed netbeans using zypper install netbeans. Trying to run it, I get the "loading" splash screen which is proceeded by a small popup which asks me if I want to register my copy and receive some ...
1
vote
2answers
228 views

How to zoom into a Java app under KDE4?

I have 200 dpi monitor and this Java is just inscrutinable app small. The desktop zoom effect is cool -- but it doesn't seem permanent? I would like to, basically, change every pixel into 2x2 pixels ...
0
votes
1answer
699 views

Where can I find Aptana error logs?

Where are Aptana error logs stored in fedora?I want them to see why Aptana crashes. Edit: According to Mat's answer I checked the .log file in .metadata directory but this is what Is added to file ...
1
vote
4answers
81k views

How to find path where jdk installed?

I'm a newbie to Linux so please forgive me for asking such stupid question! I'd installed jdk1.7.0.rpm package in RHEL6. Where I do find the path and to execute my first java program?
2
votes
2answers
896 views

How do I install multiple java command-line programs?

I have a bunch of java command-line programs I've written and would like to install for all users. Building with NetBeans, I get a /dist directory which contains myprog1.jar and a /libs directory ...
1
vote
3answers
296 views

Get Position of RAID Hard Drives

I was recently tasked with creating a hard drive management system on Linux. I needed to write a program that monitored when drives came online and offline and created/removed links to the drive ...
0
votes
3answers
2k views

How to set up the DOMAIN_HOME environment variable in SUSE Linux

I am running Java NetBeans 6.9 jdk 6 on SUSE Linux (a newbie on linux) and I currently need to get the path of the weblogic domain of my Java application. I have read that I can directly access the ...
6
votes
2answers
2k views

How do I change file associations from the command line?

The system in question is Solaris, using the Gnome type interface (Java Desktop Environment). We have occasional issues with users managing to mess up their file assocations (most notably .tif). ...
3
votes
4answers
1k views

How to run java process to be seen not as 'java…' in processes list?

Is it possible to run a Java process in Linux in a way that it could be seen in ps as some sort of alias? It would be easier to restart it when it is down.
2
votes
1answer
2k views

Is there a tomcat 64 bit version

Is there a tomcat 64 bit version for Linux, I am using Red Hat Linux?.
8
votes
5answers
29k views

Problem to launch java at Debian: “error while loading shared libraries: libjli.so”

I'm trying to launch java: $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory $ ldd ...
1
vote
1answer
1k views

Debugging Java program for changing timezone configuration file on Ubuntu

Here is a ruby script I wrote to change the timezone configuration on Ubuntu. I run it with jruby (a Ruby interpreter running in a JVM). require 'java' if ARGV.length == 0 puts "Usage: jruby ...
3
votes
1answer
475 views

freebsd make install openjdk6

I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is: /usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such ...
2
votes
1answer
944 views

Installing Rubymine without sun-java6-jre

I'm using Ubuntu 10.04 and am looking to install Rubymine. It seems every tutorial recommends installing sun-java6-jre before downloading rubymine but aptitude and apt-get are returning nothing, ...
4
votes
1answer
8k views

Run java classfile from terminal

I have a compiled java file somefile.class, and when i cd into the right folder and do: java somefile it works but when i call it from another folder: java folder/somefile it doesn't work, it gives me ...
4
votes
3answers
1k views

Mathematica makes no sound under Ubuntu 11.04

After waiting for days for my license I now got the opportunity to install Wolfram Mathematica 8 at home. However, neither the Play nor the Speak functions are doing anything as it seems that ...
2
votes
1answer
4k views

How to run a .jar file? No main class found

How do I run a jar file? I tried this : java iCChecker.jar but I got next trace : Exception in thread "main" java.lang.NoClassDefFoundError: iCChecker/jar Caused by: ...
3
votes
2answers
3k views

Live Linux CD/DVD with Bittorrent client, Java, Flash, VLC?

I'm looking for a live CD distribution that offers me fully featured environment for using Internet and OpenOffice (or some other office app compatible with M$ Word). I thought about installing a ...
0
votes
1answer
452 views

How to execute Zeo Decoder Viewer on Linux?

I'm trying to execute Zeo Decoder Viewer (a Java application) on Linux, and I'm not sure how I'm supposed to do this. I've put the program and required libraries (all in jar files) in /opt/zeo/ ...
1
vote
1answer
378 views

Issues compiling Tanuki Java Service wrapper version 3.1.2 under armv5tel architecture

Basically I need this specific version of the Tanuki Java Service Wrapper to run a specific Java application. I downloaded the source from the Tanuki website and I'm trying to compile it from source. ...
3
votes
0answers
344 views

VMO Changes After Adding New RAM To AIX?

We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken). This server is our Application server running J2EE applications on top ...
5
votes
1answer
627 views

Dead keys not working in Java Swing applications

I'm currently using Ubuntu 10.10 and Netbeans 7.0 and I can't type accented letters with dead keys any more. It's not a version specific problem seems it's related with Swing since I've got the same ...
0
votes
1answer
856 views

RHEL/CentOS: Installing a new version of Java, why not just change the path?

I am installing a new version of Java on a CentOS/RHEL Linux distro for a single developer to develop java. The way I want to install on this development system is to just put the new java version ...
1
vote
2answers
770 views

Problem installing JDT in Eclipse on linux

I installed Eclipse on Fedora Core 14 using yum install eclipse-platform. I ran eclipse and tried to install the java development tools, but then this error came up: Cannot complete the install ...
1
vote
2answers
1k views

Several versions of JAVA on one PC

I want to use jre-1_5_0_21 on my Fedora 14 box. Here's whats installed on my PC: $ update-alternatives --config java There are 2 programs which provide 'java'. Selection Command ...
2
votes
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
4
votes
3answers
6k views

What to do to run GUI Java app in chrooted environment?

In my case Java app is JDownloader. I prepared chroot environment as explained here: http://www.0x61.com/forum/post5240333.html#p5240333 and here: http://interreality.org/~reed/java-chroot.html ...
2
votes
2answers
1k views

how to make system service out of .jar file? (linux)

i wrote a little java server which i'm running on my CentOS 5 VPS server. currently i just ssh onto the server and start the jar through commandline. How an i turn this jar into a system service and ...
2
votes
1answer
4k views

How to install java on CentOS VPS through ssh

I wrote a little Java servlet and, in order to run it, acquired a VPS which runs Centos 5. Now, in order to run it, I guess the first thing to do is to install the latest JRE. I have ssh access and ...
0
votes
3answers
5k views

Why $JAVA_HOME does not persist on a mac?

On my mac os 10.6.6 I'm trying to persist env variable $JAVA_HOME but it doesn't stick! $ export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Once I restart it won't ...
0
votes
2answers
2k views

installed java, but java -version not showing new java

I just installed jdk1.6.0. I have tried multiple ways to set the path variable and make java 1.6 my new running version. And nothing is working. Running centos5 virtual machine. alternatives --config ...
3
votes
2answers
1k views

How to fix icedteanp plugin error?

I'm using openSUSE 11.3 with "latest updates". I have installed vimprobable and uzbl. Whenever I start one of those two browsers, I get the error message: icedteanp plugin error: Failed to run ...