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

learn more… | top users | synonyms

1
vote
0answers
54 views

Assistance applying poorly packaged patches?

I manage a handful of servers running the various roles of a Ahsay online backup solution. A few times a year the software is updated and I need to apply patches on my servers. Annoyingly the ...
0
votes
1answer
3k views

Install java, tomcat7 or tomcat6 on RHEL5 centos5

I wish to install tomcat7 on centos5 sticking on yum but I have --> Finished Dependency Resolution java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 from jpackage-generic-nonfree has depsolving problems ...
2
votes
3answers
2k views

What's the easiest way of installing JRE on Debian?

What is the easiest way of installing JRE on my Debian OS (Linux)?
0
votes
1answer
43 views

How to prevent .jar files from going into /etc when installing OpenJDK from rpm?

After I found and installed OpenJDK in Fedora 20 using Apper I noticed there is a series of directories starting with jar prefix under /etc/alternatives, specifically: /etc/alternatives/jre (93,4MB) ...
2
votes
2answers
756 views

How can a normal user trigger a root cron task to execute immediately, without delay?

I have a root cron task that runs every day. But I want to allow normal users to request that it run immediately, if they so wish. It is a harmless process and it can run as often as needed and these ...
1
vote
1answer
215 views

Editing the .profile file to access

I am trying to source my .profile file to easily access a directory of javatools. The bash code below seems like it should work but it does not. Any help troubleshooting this script would be very much ...
0
votes
1answer
264 views

Unable to override the JAVA home in opensuse 13.1

What I did : made an entry in both ~/.bash_profile ~/.profile export JAVA_HOME=/usr/java/jdk1.7.0_51 export PATH=$PATH:/usr/java/jdk1.7.0_51/bin still system points to some openJDK installed by ...
0
votes
0answers
192 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
78 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
2answers
165 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 ...
3
votes
1answer
340 views

How do I change the Java Security level?

We've got an ancient (internal use only) self-signed app that refuses to run now with the changes to the JRE. Working on getting a code signing certificate and rebuilding it, but that's horribly slow ...
0
votes
1answer
427 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
213 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 ...
1
vote
1answer
1k views

How to restart Java with a specific argument?

While running my Minecraft server, I noticed the following message outputted in the console. 24.01 02:11:04 [Server] INFO Warning, your max perm gen size is not set or less than 128mb. It is ...
0
votes
1answer
547 views

java add to the path

I have some .jar files in a directory, /home/unix/dfernand/bin/picard/picard-tools-1.106. But when I add the directory to the PATH and CLASSPATH in my bashrc, java still does not recognize the .jar ...
1
vote
1answer
153 views

How can I build android on my debian while using eclipse ? (java dependencies problem) [closed]

I would like to compile a build for my android device (N4) with my debian (jessie). I read that I must have Java 6, but eclipse which I sometimes use seems to need java 7. For example, I uninstalled ...
3
votes
4answers
15k views

Java “Could not reserve enough space for object heap” even though there is enough RAM

I am currently having some issues running Java. It won't start because of heap issues. But I have more than 9 GB Ram free (or even 16 GB if you assumed the cache would be empty). This is the error I ...
0
votes
1answer
1k 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 ...
1
vote
1answer
183 views

Java is constantly generating an error log in my home directory?

I have started to notice that whenever I use a Java-based application on Fedora 20, whether it's a game or Eclipse or something else, it will always generate an error log of some sort in home ...
9
votes
1answer
478 views

How to fix Java applications mouse pointer offset in Awesome WM?

How to reproduce in Awesome WM v3.5.2 through 3.5.5 (so far): Install OpenJDK or Oracle Java 7. This bug has been observed with both. Start a new Awesome WM session with the default configuration. ...
1
vote
1answer
523 views

Java fails with “Could not find the main class”

I want to run a jar file in Linux (CentOS, 32-bit). But the following error occurs. What is the reason? [root@server ~]# java -jar keygen.jar Exception in thread "main" ...
0
votes
1answer
235 views

Codeswarm software project visualization: how do you set it up with opengl rendering on a contemporary 64bit Linux system?

The Codeswarm project provides a software project repositories visualization tool in Java. The software leverages the commit information from a log generated from a repository. The rendering ...
6
votes
2answers
681 views

How can I install Sun JDK on a Debian based system?

I can't find any .deb packages for Sun's Java Development Kit. How can I install it on my Debian machine without causing conflicts with the already installed openjdk packages?
1
vote
2answers
2k views

How to install red5 & Java on centos 6.4

There are many tutorials out there but not so many for 6.4 and it seems people are having problems with running either Java 6 or 7 and Ant. So does anyone know where to find a definitive guide? ...
1
vote
1answer
325 views

Unsure about java JDK for Centos 6.4

I have done a yum search java before installing anything to see if may have already. It comes back with the following: libreadline-java-javadoc.i686 : Javadoc for libreadline-java ...
1
vote
2answers
428 views

Installing OpenJDK 7 (JRE) but only policytools found in ./jre/bin

I'm trying to install Java 7 onto my Ubuntu machine through apt-get. I'm issuing the to install using apt-get: sudo apt-get openjdk-7-jre apt-get claims a successful install, but I cannot appear to ...
2
votes
3answers
105 views

How do I disable and re-enable Java whenever I want?

For me Java is just a security threat. Not many legitimate Linux apps use Java. However there is an abundance in Java malware and malicious remote administration tools like Jrat among others. But one ...
1
vote
0answers
159 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
1
vote
0answers
189 views

JVM memory limit on Linux (Debian)

When running my java program, I get following error: Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM limit I am wondering how I can increase the limits on my ...
0
votes
1answer
105 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
45 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 ...
2
votes
2answers
3k views

Cannot install java after apt-get upgrade

When I execute java -version, I get this: bash: /usr/bin/java: No such file or directory I followed multiple online guides towards installing java. I followed all the steps but I still get that ...
2
votes
1answer
2k views

Search for a String inside all files inside a war

Where I work someone had Java project and used Eclipse to export that project into a .war package. Now I need to search for a string inside all the files that make that .war package. I know that a ...
1
vote
0answers
41 views

How can I specify an executable path that will work from any working directory? [closed]

I have a java process that runs in this directory: /home/zookeeper/zookeeper-3.4.5/org/zookeeper/Process.class That Java process will in turn launch another Java process that lives here ...
2
votes
1answer
109 views

What is the meaning of the .: in this linux statement?

Somebody helped me run a java program with the following (working) line of code. The zookeeper-3.4.5.jar exists in the working directory. What it is the meaning of the .: syntax here? Does that just ...
1
vote
2answers
406 views

I deleted /etc/alternatives/java [closed]

I'm on Ubuntu 12.04 on a 32-bits Dell machine. I was trying to install java JDK for 32-bits linux platform and I accidentally deleted the file /etc/alternatives/java. I would love to recreate my ...
2
votes
1answer
285 views

Running Apache with Tomcat

I was wondering if it's possible to run a Tomcat server within Apache whilst also running PHP servers under other virtual host instances? And if so, how is this done? Basically, I'm trying to run an ...
0
votes
1answer
145 views

best programming language for I/O intensive tasks [closed]

I need to process "big data" (nearly 1TB which can be partitioned into smaller chunks). Consider several programming languages (Java, Python, C++, Perl) and other scripting options (Perl, awk, sed, ...
0
votes
2answers
283 views

how to run .dump command in linux? [closed]

I want to create dump file of sqlite database from java but I can't run the below command from linux. I got the help of windows and I tried with linux but it appears one terminal nothing more than ...
1
vote
2answers
761 views

Cannot change JAVA_HOME

When I run java -version in my terminal I get: user@ubuntu:~$ java -version java version "1.7.0_25" OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2) OpenJDK 64-Bit Server ...
1
vote
1answer
137 views

Starting a .bin installer in graphical mode

I'm trying to install this software but after I run the usual commands: chmod +x gvSIG-desktop-2.0.0-2066-final-lin-x86-standard-withjre.bin ...
3
votes
1answer
3k views

How to install Sun/Oracle Java 1.6 onto centOS 6 using only textmode?

So, after a few days of struggle I have yet to be successful in installing Sun/Oracle java 1.6 onto my CentOS. The issues seem to be as follows No sun java 1.6 package available in repo due to ...
1
vote
0answers
70 views

Wine - Java-Editor's Frame Window is black [closed]

I have a strange bug with the Java-Editor on Linux using Wine. When I run a Frame Window it is completely black. The rest of the editor works quite well. My mouse recognizes the text fields (changing ...
2
votes
1answer
144 views

Using prelink on manually loaded libraries? (like Java native libraries)

As far as I can tell, prelink can only works with dynamic libraries which an executable declares it needs at compile time (the libraries that can be found with ldd). It doesn't seem to include ...
1
vote
1answer
833 views

RPM: failed jre dependency, even though that JRE version is installed

I am trying to install a package, and it fails reporting a missing dependency: # rpm -ivh * error: Failed dependencies: jre >= 1.7.0 is needed by Tomcat-7.0.37-1.noarch At the same time, ...
1
vote
1answer
102 views

Java PATH issue when installing JDK7 on centos 32 bit

I have Installed JDK 7 on CentOS 32 bit virtual machine. I also have set the path for java. In one terminal it is showing java1.7 But when I open another terminal and look for, java -version It is ...
1
vote
1answer
951 views

Open screen process in terminal from script

I have a minecraft server running in screen, and right now, it is just a script that starts java like so: screen -dmS mc java -Xincgc -Xms1024M -jar craftbukkit-1.6.4-b2882.jar Basically this just ...
-1
votes
2answers
408 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 ...
2
votes
1answer
4k views

How to set Oracle Java's JAVA_HOME in Fedora 19

I just installed Fedora 19 and managed to get FedoraUtils installed. So I chose java oracle. after installation I could see in the FedoraUtils list that oracle java (installed) but I can't see the ...
2
votes
2answers
156 views

Change PATH in Debian 7.1.0 for JAVA

I would like to change the PATH of my Debian 7.1.0 system to link the java version I want. If I insert into the terminal: java -version I get: java version "1.6.0_27" OpenJDK Runtime Environment ...