Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

2
votes
2answers
365 views

Why must you have administrative privileges to install java 2 sdk

I use several school computers, that have different operating systems. To make sure that I always have my tools available, I like to install a lot of programs to my "roving profile". This is possible ...
2
votes
3answers
8k views

where to get an IBM jre for 64-bit Windows?

I know this is stupid: I couldn't find anything from IBM website about where to download an IBM jre (specifically, IBM jre1.6.0 J9 2.4 SR6) for a 64-bit Windows OS. Google takes me to a link which ...
2
votes
1answer
3k views

How do I pipe Java exceptions into a text file along with normal output?

When I use batchfile.bat >> logfile.txt command in the Windows commandline, it correctly outputs the normal output into the text file, but the Java exceptions get output to the console. Can I make it ...
2
votes
2answers
62 views

Why would I not want to use Apple Java?

Being fairly new to the Mac platform, I was wondering why, when downloading Charles web debugging application, they would offer an alternative download if you do not want to use Apple Java? What ...
2
votes
3answers
501 views

Installation of Java is not working on Windows Server 2008 Itanium

When I try to install Java on Windows Server 2008, it gives me the error below. I tried to install JDK 1.5, JDK6 and JDK7 in both 32-bit and 64-bit versions. Error message: The version of the ...
2
votes
2answers
397 views

OSX - Update “Java for OS X 2012-002” is not mentioned on support.apple.com, is this ok?

Straight after installing "Java for OS X 2012-001" Software Update asks me to install "Java for OS X 2012-002", which has the exact same size (66.6 MB) and description (including the same two links: ...
2
votes
2answers
804 views

why can I invoke java from one user, but not root?

I think this sequence of commands explains my whole question: [Ramy@Moonface Downloads]$ java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) ...
2
votes
1answer
7k views

How do I allocate more RAM to Java?

A java application I'm using keeps crashing, when I had a problem with a similar application I managed to fix it by allocating more of my RAM to Java. How do I do that? (I recently upgraded to 16 GB ...
2
votes
2answers
6k views

how to install java 1.7 runtime on macos 10.9 mavericks?

I tried to install Java 7 Update 51.pkg, downloaded from here (http://java.com/en/download/mac_download.jsp?locale-=en), following the instructions here ...
2
votes
1answer
5k views

Allowing unsigned Java applications on all sites

Java stopped running unsigned applications one day. Your security settings have blocked an untrusted application from running. The documentation states that I can add a site to an exception ...
2
votes
3answers
6k views

Trouble setting up PATH for Java on Debian

I am trying to get Oracle Java 7 update 3 working correctly on Debian 6. I have downloaded and set up the files in /usr/java/jre1.7.0_03. I have also set the following two lines at the end of ...
2
votes
1answer
181 views

How to add esapi to ColdFusion 8

On https://github.com/damonmiller/esapi4cf there is a description of how to add the esapi jars to ColdFusion 9, but I'd like to know how to add them to ColdFusion 8. I but the esapi-2.0.1.jar in a ...
2
votes
2answers
3k views

Java Install Error 1723

I was working on a program in Eclipse. I went to run it, and ran into some 'unknown source' errors, so I tried to reinstall my java and ran into some annoying errors. First thing I ran into was an ...
2
votes
1answer
898 views

How to get along with Java updates (Windows)

We've learned how to disable automatic java updates, but whether we update Java manually or automatically, is there a way to make it less annoying? Personally, I wouldn't mind Java updating ...
2
votes
3answers
2k views

Cannot Install JDK

For the life of me, I can't install the JDK on Windows Vista. I keep getting the error, "This Software Has Already Been Installed on Your Computer. Would you like to reinstall it?" Problem is, it's ...
2
votes
1answer
2k views

Open Source Java Based Blog Software

I am looking for an open source java blogging software that is easy to use and customise. I am looking a blog application that (preferably) has the following features: Enable me to tag my post with ...
2
votes
2answers
1k views

JAVA_HOME errors when run without sudo

Hello I am on Linux Mint 16 KDE 64. I have OpenJDK 7 installed and Oracle JDK 7 and if I run Intellij as a normal user I get: 'tools.jar' seems to be not in IDEA classpath. Please ensure ...
2
votes
3answers
535 views

Remove openjdk without removing tomcat

When i want to remove openjdk it says that tomcat will be removed too. apt-get remove openjdk-6-jre-headless Reading package lists... Done Building dependency tree Reading state ...
2
votes
1answer
2k views

Arbitrary code folding in Eclipse?

I know that we can fold methods,if statement and ... .But I want to fold arbitrary part of code that is written in a method.I guess that in NetBeans we can do this: // <editor-fold desc="describe ...
2
votes
1answer
89 views

How to make my java app run when run specific extension?

I want to make my program start when certain file extensions are opened. For example, when you click on a .zip file in Windows, Winzip starts up. How would I accomplish this?
2
votes
3answers
2k views

Why java -version returning a different version than the one defined in JAVA_HOME?

I am trying to set JAVA_HOME in Ubuntu OS. I have copied jdk 1.7 in /usr/lib/jvm and set JAVA_HOME in /etc/profile file. Contents of /usr/lib/jvm folder are as follows : shekhar@ubuntu:~$ ls ...
2
votes
1answer
583 views

How can I ensure I'm using JDK version 1.6?

Before I installed Java JDK1.6 on WinXP machine I typed from the CMD line c:\javac 'javac' is not recognized as internal command ... Here I concluded I did not have a JDK installation on my PC So, ...
2
votes
1answer
2k views

How to limit a Java process to a certain amount of RAM?

I am trying to limit Minecraft to a certain amount of memory. To that end, I start it from a batch file with the following line: javaw -Xms256M -Xmx256M -cp Minecraft.exe net.minecraft.LauncherFrame ...
2
votes
2answers
204 views

websvn garbles java source files

It appears to be attempting to interpolate Javadoc links into standard Java classes, among other things. The resultant output is fairly difficult to read. For instance, I am defining a Queue at one ...
2
votes
2answers
4k views

Removing all traces of GNU java and openjdk and replacing with Sun JDK

I have installed latest Sun JDk. But when I do: java -version I still got OpenJDK version. So I completely removed OpenJDK. But now when I do: java -version I get even older GNU java 1.5 ...
2
votes
2answers
859 views

unable to open excel sheet in linux

I am not able to open excel file which is generated from java web application in Linux. The file is opening in Windows but not in Linux. I am not using Open Office. I have two different applications ...
2
votes
1answer
11k views

Configure Ubuntu to run JAR file by double-clicking on it

In Windows, when I double-clicked on a JAR file it would run the encapsulated Java program. In Ubuntu, all I get is a list of files stored in the JAR file. Is there a way to configure Ubuntu to run ...
2
votes
1answer
2k views

Java (1.6.0_15) not working on Mac OS X Snow Leopard (10.6.2). Why?

I haven't used Java or visited any sites that use java applets in quite some time. However, today I did happen to run across a website that does have a java applet and to my surprise I get the ...
2
votes
1answer
208 views

After upgrade to OSX Mavericks: “Unable to find any JVMs matching version 1.6”

After upgrading my work notebook from Mountain Lion (10.8.5) to the Mavericks (10.9.4) this weekend, everytime I open the terminal I now get the following error message: Unable to find any JVMs ...
2
votes
2answers
1k views

How to run two browsers (Firefox) with Java plugins in Windows (7) having different versions (1.6 and 1.7)?

For an old KVM switch I need to run a browser with Java 1.6. But for all other cases I want to use the latest Java browser plugin which is 1.7. On Linux I can create two profiles and put in each a ...
2
votes
1answer
831 views

Upstart: unrecognized service (CentOS 6.4)

I have created an upstart service from this gist. I put it into: [andrey@vm01 ~]$ ll /etc/init/play.conf -rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf I also installed upstart, as ...
2
votes
2answers
359 views

Wikipedia, Facebook, trying to run Java add-on

On a new PC, I disabled all Java plug-ins in Internet Explorer 10. From time-to-time on websites such as Facebook and Wikipedia I receive a message telling me that the website wants to run the Java ...
2
votes
1answer
2k views

We can't access to jenkins from anywhere

We have just installed Jenkins on our server (Debian 7 wheezy). It works on local network, but not on extern network. We search but we don't find any workaround for this problem. We can ping our ...
2
votes
2answers
3k views

bash or bash_profile JAVA_HOME permanent export

I tried to export JAVA, used this JAVA_HOME=/etc/jdk1.7.0_07/ export JAVA_HOME export PATH=$PATH:$JAVA_HOME/bin It seems like it works just for while, after I close my console have to do this ...
2
votes
4answers
177 views

Unable to uninstall Java

I'm working with bat files, and I need to use Java 1.7. Unfortunately the output of: @echo off java -version pause is that I'm using Java 1.6.0_27b. I completely removed Java, and the directories ...
2
votes
2answers
603 views

Java command not found in OS X Snow Leopard — where can I get it?

When I type java -version in terminal, I get Command Not Found What can I do?
2
votes
2answers
4k views

Google Chrome not letting me trust Java applet

I'm trying to play Minecraft in-browser with Google Chrome, but it won't ever let me trust Minecraft's certificate. When I try to run it, I get this popup: Then when I click "Show Details...": ...
2
votes
3answers
344 views

Antialising / Fonts in Java/Netbeans

In the Netbeans editor, fonts look really ugly: There are several suggestions in the ArchLinux Wiki but they didn´t work for me. What do I have to do to get a normal Netbeans experience with ...
2
votes
1answer
847 views

How do I configure updates for the 64-bit jre7?

Good afternoon all, I've got both the 32-bit jre7 and 64-bit jre7 installed. In the control panel of the 32-bit jre7 (C:\Program Files (x86)\Java\jre7\bin\javacpl.exe), there is an "Update" tab ...
2
votes
1answer
8k views

“Java returned exit code=13” when starting Eclipse

I have some problems starting Eclipse. When I try to start it, this error window appears: Does anyone have any idea of how to fix this? I am using Windows 7.
2
votes
1answer
278 views

Application prompts me to install JRE higher than 1.4, but I have 1.7 installed

There is a JRE 1.7 on my Windows XP machine. The java -version command says that I have 1.7.0_02. By launching an .exe file, I want to install an internet banking software that uses Java, but it ...
2
votes
1answer
3k views

Can I run a 32bit Java app on a 64bit platform?

I have an old Java app which has been compiled for the 32bit platform. I've moved from Windows XP (32bit) to OS X Snow Leopard (64bit) and I'd like to continue using this app, however I'm getting an ...
2
votes
2answers
3k views

Unable to change the Java update settings in Windows 7 control panel

Java updates are necessary but they are so frequent that i am now tired of it. Besides, I need to do simple work on my PC and the requirements for Java are seldom. Today, I went into the control ...
2
votes
2answers
1k 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.
2
votes
1answer
1k views

Creating virtual serial port in Fedora

I want to create a virtual serial port in Fedora. I'm using Java code to communicate over a serial port. I want to test this code with out any serial devices connected.
2
votes
2answers
919 views

eclipse code window only showing what in the Outline window

I'm not sure what configuration I must have selected, but now the code window only shows the item that is selected in the outline window. I've never seen this behaviour before and it's quite annoying. ...
2
votes
1answer
255 views

Running software on linux through Wine [duplicate]

Possible Duplicate: Running software on linux through Wine Our school is setting up a Linux computer lab for students to use. We have Kinetic Books and would like to run it on these ...
2
votes
2answers
4k views

How can I remove old (unused?) entries for the Java Console addon in Firefox?

Currently there are three entries in my Firefox addons list for the Java Console, v6.0.20, v6.0.19, and v6.0.16. The entries for the last two older, superseded entries are greyed out. In particular, ...
2
votes
2answers
799 views

how to set default java plug-in version

I can set the jre version from the Control Panel -> Java -> Java Runtime Environment Settings. But I cannot figure out how to change the Java Plug-in Version. I would like to use an earlier java ...
2
votes
1answer
3k views

QuickJava for Google Chrome?

Is there something similar like QuickJava (Firefox Addon) for the Google Chrome?