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

learn more… | top users | synonyms

2
votes
2answers
2k views

What version of java (if any) comes with Windows 7 default install?

What version of java (if any) comes with Windows 7 default install? Is java even installed by default in windows 7?
2
votes
2answers
392 views

Make file open with different program

I accidentally opened a Java file with Firefox and now I cannot change this... How can I make JCreator default again? Here is example of my problem:
2
votes
2answers
332 views

Why is a desktop Java app using an old JRE?

In trying to comply with IT policy I've (I thought) removed all old versions of Java JREs and JDKs from OSX. java -version returns 1.7.0_51 and the Java Control Panel in System Settings also reports ...
2
votes
4answers
12k views

Cannot find JAVA_HOME!

Ive been following all the steps to set up java and its compilers and sutch, but i get to the step to change the route for JAVA_HOME where i go into enviroment variables and there is no JAVA_HOME, i ...
2
votes
2answers
172 views

can java applets take over your computer? [closed]

can it execute programs on my computer ?
2
votes
6answers
6k views

How to know if a site uses Java?

What is a quick method to know if a website uses Java (e.g. in a Java applet). One way would be to scan the source code of the page for clues, but I am looking for a quicker way. If possible, not a ...
2
votes
2answers
366 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
68 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
599 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
829 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
8k 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
1answer
49 views

Dynamic variable substitution in PATH

I want to run different versions of Java on the same machine (Linux Mint 17) with default to Java 7. So I put this into /etc/environment: JAVA_HOME="/tools/java/java7" JAVA7_HOME="/tools/java/java7" ...
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
182 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
949 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
1answer
1k 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
3answers
613 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
5k views

Is the Firefox browser 64-bit on Mac OS X or is the Java website inaccurate?

On the Java download page for Mac OS X, it says: Chrome does not support Java 7. Java 7 runs only on 64-bit browsers and Chrome is a 32-bit browser. If you download Java 7, you will not be ...
2
votes
1answer
3k 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
606 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
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
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
874 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
2answers
2k 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
15k views

how to use two different versions of java in the same computer?

we have one java application which can work only on 1.6 and a website which works only on the latest java 1.7. We have both java installed on our computer. But unfortunately, it cannot detect ...
2
votes
2answers
419 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
2answers
5k views

How do I remove Java in Debian?

java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) There doesn't seem to be an easy ...
2
votes
4answers
180 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
621 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
361 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
911 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
9k 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
288 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
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.