jdk

download jdk1.5.0_18 source code

Hi, I'm looking for the JDK source code for Java 1.5 update 18 (on win XP). I don't want to install a JDK, I don't want the source code for the entire VM, just the source for the JDK libs, so that when I navigate to a Java class in Eclipse, it opens up the source code. Is it possible to download just src.zip (or a zip that contains src...

Java port of StrictMath.exp?

Did anybody port the C source code of StricMath.exp (OpenJDK) to Java and made it available online? I mean the port of http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/7b641a18cf0b/src/share/native/java/lang/fdlibm/src/e_exp.c ...

Can I install Netbeans while I already installed jdk.1.6.xx on same machine?

Hi, I just about to learn Java programming. I already have jdk on my computer. Then, I found this Netbeans is quite popular and come with all I needs. My question is, will there be any conflict if I install full version of Netbeans while I already have jdk installed on same machine(windows vista)? I will appreciate your answers and adv...

including pre-built java classes into an android project

i'm trying to include a maven java project into my android project. the maven project is the greader-unofficial project which allows developers access to google reader accounts, and handles all of the http transactions and URI/URL building, making grabbing feeds and items from google reader transparent to the developer. the project is ...

Am I compiling with x64 JDK?

Hi, Do I have the 64 bit of JDK installed on my machine? My java -version says: C:\Documents and Settings\Administrator>java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode) Should I expect a performance improvement in using a 64 bit co...

Wicket app in embedded Jetty causes UnsupportedClassVersionError

I've tried to run a Wicket app in an embedded Jetty, using this code: public static void main( String[] args ){ Server server = new Server(8080); Context root = new Context( server, "/", Context.SESSIONS ); FilterHolder filterHolder = new FilterHolder( new WicketFilter() ); filterHolder.setInitParameter("applicationClassName"...

Upgrading RAD JDK Version to 1.6

Hi, I am using RAD for development. For my application i need to upgrade my JDK compliance to 1.6 from 1.4. I have installed jdk 1.6 and added it to my installed JRE's. Now in the JDK compliance still 1.4 is shown, what should be done to set the JDK compliance to 1.6? Thanks in advance. Cheers, Deena ...

[Grails] Can i run a grails war under tomcat ina machine without JDK ( Only JRE ) ?

question: Can i run a grails war under tomcat ina machine without JDK ( Only JRE ) ? i have a grails app that works fine in: grails run war. also in a separate tomcat server in the same computer. when i deploy this .war on a server, That has JDK, i have no problem. when I try to do this in a server that only has JRE, the aplication ...

Changing the version on which netbeans runs

I am using Netbeans 6.7. I had first installed Java 1.5 before installing Netbeans. When i installed Netbeans it took Java 1.5 as the default version. Then i installed Java 1.6 on my machine. I need to change the default JDK of my netbeans to 1.6 not only to a specific project but to the whole Netbeans application. ...

Does JRE has diagnostics tools?

Hi. Does anyone know if JRE (not JDK) has diagnostics tools, such as jps, jstack, jhat and so on? Or these tools only present in JDK? Thanks. ...

Hudson jobs won't call javac?

Hi, I have just set up Hudson on my server. For some reason, my build will not call javac to compile my builds...? I have set the path to the JDK in the Manage Hudson area, and it seems to recognise it (doesn't give me a warning). Is there something else I'm supposed to do? Here's a sample console output of one of my jobs (note how java...

can't generate sequence diagram from running code - Enterprise Architect

Hi SO, I'd like to generate sequence diagrams with EA. I set up a build script, the debug section looks like this: jre=C:\Program Files\Java\jdk1.6.0_20,-Djava.class.path=C:\path\to\my\app When I try to debug it (which is needed for the diagram generation), I get the following message: Failed to load C:\Program Files\Java\jdk1...

How to get JDK 1.5 on Mac OSX

I've got to write some code for a legacy application that is still running JDK 1.5. Unfortunately, it looks like OSX doesn't actually have a 1.5 JDK installed, it just links to 1.6: /System/Library/Frameworks/JavaVM.framework/Versions $ ls -l lrwxr-xr-x 1 root wheel 5 Apr 26 11:53 1.3 -> 1.3.1 drwxr-xr-x 3 root wheel 102 Feb 11...

Did we always have to register to download the Java 5 JDK, or is this new Oracle fun?

I could swear that just a couple of months ago I downloaded a copy of the Java 1.5 SE JDK and I did not have to give them information on my first born. Today, I had to go through the register-and-we-will-send-you-a-link-someday dance. I have not received the link yet, so I thought I would ask about it here. What is special about the J...

Java JDK Source Code?? Where to find it?

Hi, I like to see what a method in the Java API does. So I want the JDK Source Code. Before I re-installed Linux I had the scr.sip file with all the code in it. I just had to tell Eclipse this file and I could see the code. But now I haven't the file anymore... So the question is: Where can I find it? Please don't paste the Google resu...

m2eclipse: Eclipse is running in a JRE, but a JDK is required

Hello, I have a problem with m2eclipse (0.10.0) together with eclipse galileo (Build id: 20090920-1017). I always get the error message:"Eclipse is running in a JRE, but a JDK is required". I have tried several things, but nothing works. The error message is still there. Here are the things I have tried: In Window>Preferences>Java>Ins...

Why am I getting a ParseException when using SimpleDateFormat to format a date and then parse it?

I have been debugging some existing code for which unit tests are failing on my system, but not on colleagues' systems. The root cause is that SimpleDateFormat is throwing ParseExceptions when parsing dates that should be parseable. I created a unit test that demonstrates the code that is failing on my system: import java.text.DateForma...

Smallest Java Runtime I can legally distribute?

My Java SWT desktop application is distributed with it's own Java runtime and I want to make the download size as small as possible. I'd like to remove all the classes I don't use from rt.jar, but this is forbidden according to JDK runtime licence (see the README.html file in the root JDK folder). Since Java is open source, am I allowe...

Will jdk/jre 5.0 64 bit download for windows AMD work with Windows x86?

I could not find a download link for 64 bit jdk/jre 5.0 for Windows x86. The download link says it is for Windows 64-bit AMD. We are moving to Windows 7 64-bit x86. I am looking for jdk/jre 5.0 64 bit download. Could someone help me with this? ...

how can i set the jdk in intellij 9 on mac

i have a project on intellij and now i wanna run it on intellinj 9 on mac. when i run the project i get the error -> "the JDK is not specifiedfor module "XXXXX" specify the JDK in Configuration project". when i go there in the dependencie for module SDk there is No Project JDk. and when i click on new it is just JSDK, Intellij idea plugi...