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

learn more… | top users | synonyms

0
votes
2answers
739 views

Tomcat does not get enough memory

i'm trying to setup a jira instance on my vServer. I've got min. 1 GB ram and max. 2 GB ram. It was runing on my friends Server with only 512 MB ram. The first error was: ...
0
votes
1answer
435 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 ...
0
votes
1answer
584 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 ...
0
votes
3answers
1k 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 ...
0
votes
1answer
28 views

Lots of free memory, but Java won't start (SunOS 5.10)

vmstat gives: swap free 37489684 110178592 Still I have issues, while trying to run Java process with 10g heap: > java -Xmx10g -Xms10g -d64 HelloWorldApp Error occurred during ...
0
votes
0answers
8 views

Fluxbox, bbkeys and java

I have installed bbkeys so I could choose a window when ALT-TABed, but the java applications are not amoung the selectable. Is there anything special that needs to be done for a java app to be amoung ...
0
votes
0answers
34 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
1answer
20 views

Fluxbox: is there a problem with java modal dialogs and fluxbox?

I have got a java application that opens a modal dialog. The modal dialog is shown behind the main window and there is no way I can bring the modal dialog to front. If I switch to Cinnamon everything ...
0
votes
0answers
35 views

Changing the Java Runtime in NetBean 8 on Ubuntu 14.04

(Not sure if this is the right site for this question - if not please migrate.) I am using Netbeans for C++ on Ubuntu 14.04. Ubuntu comes with the Open JDK Runtime, which is what Netbeans is ...
0
votes
1answer
36 views

How do I remove Java from Mint 17?

I got a version of Java 7 lying in /opt/java/jdk1.7.0_60/ That I don't seem to remember having installed myself. I want to replace it with OpenJDK 8, but I'm afraid I'll break something if I just rm ...
0
votes
0answers
47 views

Mail Delivery too slow with sendmail

We are using javamail to deliver mail for our applications. The mail function runs in a loop to deliver around 100 to 200 mails depending on the range we use. However, it taking more than an hour to ...
0
votes
0answers
193 views

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu

When I am running spoon.sh file in Ubuntu I am getting the following error: [santosh@sbx data-integration]$ ./spoon.sh /home/decathlon/Pentaho-5.0.1/data-integration org.eclipse.swt.SWTError: No more ...
0
votes
0answers
28 views

Use FindBugs in Eclipse from terminal on Ubuntu

Is there any way I could use Findbugs from terminal to get all the bugs in my Java code and print it out to a text file? I want to write a script that goes through 100 java files ( this is already ...
0
votes
0answers
51 views

Specific Jar file doesn't run on startup

I want to run a jar at startup, so I asked a question here. I was given a few suggestions, so I started from trying to create a script file and desktop file. I created a script file and desktop file ...
0
votes
0answers
35 views

How to configure Java Security Manager on JBOSS?

I’m trying to configure JBoss EAP 6 with java security manager. The official guide says you should edit the standalone.conf file, but I can’t find it. Can I circumvent this issue and define the java ...
0
votes
0answers
67 views

Setting up apache axis client on centos

I have below codes. import java.util.*; import java.io.*; import java.net.URLConnection; import java.net.MalformedURLException; import org.apache.axis.client.Call; import ...
0
votes
2answers
55 views

UDP sending two strings in a datagram

I'm wondering if its possible to send two strings within one datagram in a UDP packet. Assume I had string 1 with text: unix and string 2 with text: linux. I don't want to merge the strings but keep ...
0
votes
0answers
42 views

Moving Java sinks in PulseAudio

I want to record some gameplay on Minecraft. I created several sinks (and learned PulseAudio through trial and error). How can you tell Java/OpenAL to allow sink moving? I already edited ~/.alsoftrc ...
0
votes
0answers
45 views

Java runtime.exec gives readlink:missing operand

I try to run the following with cmd = "mvn dependency:list" and workingDirectory a valid mvn project folder: Process process = getRuntime().exec(cmd, EMPTY_ENVIRONMENT_VARS, workingDirectory); ...
0
votes
0answers
42 views

Shell script time output over java enviroment

I am running a script from java program using sshxcute API. Script contains: #!/bin/sh data=`stat -c%y filename` echo $data Script running on bash gives output: 2014-03-08 13:26:29.335545828 -0800 ...
0
votes
1answer
261 views

Run Java in a chrooted jail

I'm on a CentOS 6.5 machine with Plesk Panel which I used to create a chrooted environment for a user who can access it via ssh. I'm not a big expert but somehow I managed to let him use some basic ...
0
votes
0answers
97 views

Safenet Authentication Client Tools error when Reboot or restart the eTSrv- and pcscd-services

Command: sudo /etc/init.d/eTSrv start Starting eTSrv daemon eTSrv /usr/bin/eTSrv: error while loading shared libraries: libeToken.so.8: cannot ...
0
votes
0answers
145 views

Java NullPointer Exception for Sencha CMD

I've been trying to solve this problem for a few weeks now and it just occured to me, I might be asking the wrong question. I am learning and developing building Sencha Touch 2 applications on my ...
0
votes
0answers
57 views

Error in db setup Table/View 'APPUSER' does not exist

Ok I am back to where I started now red5 is working again but have since noticed the admin jar causes the service to fail on shutdown so have removed it until can find out why. I am using RC2 on ...
0
votes
1answer
343 views

Java/malloc memory corruption error when running SDK Android Manager

I want to install Android SDK, so I manually installed Java JDK 7u51, downloaded SDK ADT bundle for Linux x64, and tried to run it. When I run android, the SDK manager windows hangs halfway through ...
0
votes
1answer
92 views

Shutdown Red5 failed on every attempt

I'm at my wits end. I have asked everywhere. I've uninstalled - reinstalled countless times in countless different ways and STILL Red5 fails to shutdown. Can someone please give me a clue? Not even ...
0
votes
1answer
501 views

Cannot start Glassfish server on CentOS 5: port is supposedly in use, but it really isn't

I asked our sysadmin to install CentOS 5 on a virtual server within our company, on which I plan to experiment with Glassfish. The server is up and running, I can ssh to the server, and I do have root ...
0
votes
1answer
102 views

How to to login to my emailbox using shell or java code [closed]

I want to write a program/script that can send emails on my behalf using Unix Shell or Java. I think Unix Shell would be the best option as I need to do set specific time to send emails from my ...
0
votes
1answer
36 views

install oracle java sdk in ubntu - configuration problem - runs only with sudo priviledge

I am trying to to configure java sdk on ubuntu 12.04. I ha/ve copied the jdk folder to /usr/lib/java and made a link as "sudo ln -s -b /usr/lib/java/jdk1.7.0_45/bin/javac /etc/alternatives/javac" and ...
0
votes
0answers
87 views

how to enable java support to buildroot

I'm using buildroot 2012.08 version for building embedded linux. I'm looking for best solution to add java support. Is it possible to do trough buildroot?
0
votes
0answers
190 views

Jitsi crashes sound every time

No matter which version of the software I download and install from jitsi.org, running Jitsi causes the sound on my OpenSUSE 12.3 machine to be replaced by a low hissing noise. This persists even if I ...
0
votes
1answer
153 views

Init script partially launches java app

I have a java application that I manage to execute by hand. The application normally opens several ports for local communications (7180 => 7183). Port 7182 serves as a web console and allows me to ...
0
votes
0answers
45 views

High Availability of Services

I want to monitor a couple of services in linux. In case they go down I want to restart them. I'm writing a crontab which will get the name of the services using jps command every 60 seconds, and if ...
0
votes
1answer
90 views

TCLBLEND FAILURE - Centos 6.4

I have been trying to use a home grown test tool and after doing an update to Centos 6.4, I am no longer able to run the tcl based tool. I am getting the following error and I have no internet access ...
0
votes
0answers
174 views

X high CPU when using Java applications

Only recently, my Freemind program has become extremely sluggish and unresponsive (big lag) when moving my mind map around. I use Arch Linux with xfce4. Freemind is made with Java. If I move the mind ...
0
votes
0answers
85 views

Prevent Java to escalate CPU usage on Slackware64?

I use Slackware64-current on my work laptop and though I love running Slackware, sometimes it hangs on me near to the point of starting considering falling back to Windows. I develop on Java and use ...
0
votes
0answers
487 views

Java SWT App: Need 64-bit swt.jar

I have a Java app that I want to run in Ubuntu, but I have Java 64 so I can't run it because it only has the 32-bit swt.jar. I can't build it myself, so Is there anyone that can provide the 64-bit ...
0
votes
1answer
539 views

How do I install drjava in linux from terminal?

I've downloaded drjava-stable-20100816-r5366.jar file which is the drjava version for Linux. How do I install it on my machine? I'm running Ubuntu 11.10. I have OpenJDK Java 6 runtime and Sun Java 6 ...
0
votes
0answers
314 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' ...
0
votes
3answers
4k 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 ...
-1
votes
2answers
294 views

wheezy maven install

I have wheezy installed from a pen drive. Updated things and thought I had got maven and eclipse. But maven projects would not compile. I uninstalled all the maven programs I could find in Add/remove ...
-1
votes
1answer
33 views

Launching a sudo gui from desktop

Environment: CentOS 5.10 on 32 Bit. test.sh: #!/bin/bash cd /dump sudo /opt/java/jre1.7.0_60/bin/java -jar mytest.jar mytest.jar will pop a GUI app in the desktop, username is in sudoers with ...
-2
votes
1answer
448 views

ADT bundle not installed in ubuntu 12.04

I downloaded ADT bundle from android developer site. Bundle name is :- adt-bundle-linux-x86_64-2014031.zip It contains eclipse, and sdk folder. In eclipse folder, there is one eclipse executable ...
-2
votes
1answer
67 views

Novice Ubuntu 12.04 user needs help! [closed]

I'm new to Unix/Linux and someone suggested I try Ubuntu. I like it but I can't figure a couple of things out and don't really have time to google up ways to solve the problem. Answers from a quick ...
-2
votes
0answers
10 views

privacy across cloud on ubuntu owncloud

we have build own cloud to provide privacy and write encryption and decryption code on JAVA on system(window7) but the issue is how to implement this coding on own cloud??