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

learn more… | top users | synonyms

0
votes
0answers
38 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
65 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
27 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
40 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
30 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
61 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
53 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
38 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
41 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
40 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
206 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
86 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
140 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
53 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
326 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
78 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
432 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
35 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
83 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
55 views

Eclipse : GLib-ERROR

I have an JAVA application which includes .so file.I have included the VM argument path in the Run configuration -Djava.library.path="${workspace_loc}/JlibFprint/resources:${env_var:PATH}" But when ...
0
votes
0answers
27 views

hadoop namenode host login issue

hduser1@bycb4y1:/$ ssh -p 9000 hadoop-namenode Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Aug 5 17:05:47 2013 from ...
0
votes
0answers
187 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
149 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
43 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
169 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
84 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
458 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
528 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
309 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
271 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
32 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
374 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 ...