jdk

How install multiple JDK on Windows?

I want to install JDK 1.5 and 1.6 on XP, is it possible? how to do it Also, I am using Eclipse how to setup using different JDK for different projects? thanks. ...

Does using compilers from different JDK versions on the same source file break (de-)serialization?

I have a distributed application. The client and the servers share some common libraries. The client has to be compiled with a JDK 5 compiler or with target=1.5 (run anywhere also on PowerPC and CoreDuo Macs). But I would like to use SE 6 features in the server-only code. Is it ok to compile the common libraries twice - once with a JDK ...

compiling project with jdk1.5 using maven2

i managed to create my project structure using maven2. but when am compiling my project using mvn install getting error generics are not supported in -source 1.3 googled to build my project using jdk1.5 and added build tag <project> <modelVersion>4.0.0</modelVersion> <groupId>com.myProject</groupId> <artifactId>project</artifactI...

Installing Java Manually on windows?

I have seen many products bundeled with jdk, I wonder if there is a way where one can install JDK by simply unzipping contents to a directory. so, there is no icon created in add/remove programs, no registry entries etc. Also in this case: How can we configure java plugin for browsers? And how can we configure settings as seen via cont...

Does Liferay require the Jikes compiler?

All Liferay docs seem to suggest that it is necessary to install the Jikes compiler in addition to the JDK. Is this really needed, to do Liferay portlet dev, or can I just suffice with the JDK. ...

Versions of libraries included in the JDK

I just ran into a problem with the version of JAX-WS in JDK 1.6.0 being different than the one in JDK 1.6.0_14. I've been searching around for a list of the various libraries that are packaged in the JDK that shows the versions of the library included in the version of the JDK. I haven't had any luck yet. Is there such a list? ...

How do you install JDK?

I have eclipse and I can test run java apps but I am not sure how to compile them. I read that I should type javac -version into my cmd.exe and see if it is recognized. It is not. So I went to sun's website and downloaded/installed JDK v6. Yet it still says 'javac' is an unrecognized command. What am I doing wrong? Thanks! UPDATE OK af...

Is there an Ubuntu 9.04 OpenJDK equivalent of sun-java6-plugin?

Hi, I'm wondering if there exists an implementation of a firefox plugin for OpenJDK, or how one would get firefox to use OpenJDK's java for applets. I've searched endlessly, and I can't seem to find any good resources. Any ideas? ...

Soap under Java 1.3 with Axis

I am writing a Java web service for legacy SCO machines (which only have Java 1.3 available). I have been able to get more recently-added XML parsing functions integrated by including the Xerces jar on my classpath. However Java is screaming about not being able to find javax.xml.soap, even though I've got Axis 1.3 and explicitly added a...

how to check the jdk version used to compile a .class file

I'm trying to debug a "Bad version number in .class file' error in java, is there a way for me to check which version the .class files are? I'm using Jre1.5.0_6, but my JDK is version 1.6.0_13, I'm compiling with compatibility mode set to 1.5 in eclipse which I thought would work... ...

Where do I download a Java 6 JDK for Linux?

May be I am getting old, but I can't find it... ...

Bundling JDK/JRE

Hello: I am inquiring into the licensing pertaining to distributing the jdk/jre from sun. The reason I ask is that I would like to provide a client with an ISO disk image that includes my application plus the jdk or jre dependency. Any help is greatly appreciated. Cheers, Christiaan ...

Why does NetBeans still use JDK 1.5?

This question has always bothered me. And the NetBeans wiki does not say anything about that... Besides, JDK 1.5 will complete the End of Life process very soon and 1.6 has been around for quite a while. So why do they still use version 1.5 even if 1.6 is available on all Netbeans-supported platforms? ...

Can I detect when the Garbage collector works?

Am working on a swing app. I will experiance slowness after continuous half an hour of use. can it because of GC running? How can i find when the garbage collector runs through any jdk 1.5 commandline option? Thanks ...

jdk versions

i develop java app in 2 different computers ( same souce-code) , which have different jdk versions. is there a way to specify jdk version in the source-code so that ide (e.g netbeans) compile the same source-code on both machines. To be clearer: jdk5: jdbc-interface doesnt support some methods (e.g NClob, XML...) which are available in ...

Is there still a good reason to support JDK 1.4?

I'm looking at putting together an opensource project in Java and am heavily debating not supporting JDKs 1.4 and older. The framework could definitely be written using older Java patterns and idioms, but would really benefit from features from the more mature 1.5+ releases, like generics and annotations. So really what I want to know i...

What is the state of Open Source Java?

What is the current state of Java's transition to an open source license (which Wikipedia lists as the GNU General Public License / Java Community Process)? Java being inclusive of many things, including: The JVM The JRE The JDK The Core Java Libraries JavaME JavaEE I've heard/read various things, but never seen it laid out in a s...

My Eclipse can compile but I can't find a JDK!

I've installed Eclipse on a Windows machine some time ago. A couple of days back I was doing some Java coding and I noticed I don't have a JDK, but still Eclipse could compile & run the Java classes. Does it have a compiler included? ...

Java API to find out the JDK version a class file is compiled for?

Are there any Java APIs to find out the JDK version a class file is compiled for? Of course there is the javap tool to find out the major version as mentioned in here. However I want to do it programmatically so that that I could warn the user to compile it for the appropriate JDK ...

Step through JDK source code in IntelliJ IDEA

How can I step through JDK source code in IntelliJ IDEA 7 and see the debug info? I can currently hit breakpoints and step through the code, but the debug info is not available. This means I can't see the value of local variables. I only want to step through the source code of one class, if that matters. (For what it's worth, it's th...