Showing posts with label Java 6. Show all posts
Showing posts with label Java 6. Show all posts

Monday, April 22, 2013

tools.jar can not be found in JRE folder

I came across this error other day i was trying to configure ant in my new machine. The reason for this is that the relevant jar file is not in the <JRE location>lib folder but in <JDK location>lib folder.

The most simplest fix for this is to just copy the "tools.jar" file from the <JDK location>lib to  
<JRE location>lib folder.
 
Good luck.
:)

Thursday, December 20, 2012

Eclipse helios "install new software" feature lagging.

I have to use eclipse helios which is 2 versions behind the current version, thanks to our IT department few days back. When i try to download pluggins over network it start to lag after 24% completed.

After doing so many searches on google finally i found out the  problem is with the JRE version.

In my machine i have the latest Java 1.7 installed. Eclipse helios originally designed for JRE 1.6 and its "install new software" feature use a depricated sort method from java 1.7 which was originally in Java 6. So to solve the problem i have started eclipse using "Command prompt" to with passing parmeter to use JDK/JRE 1.6 as java runtime for eclipse.


D:\Eclipse\eclipse j2ee indigo>eclipse -vm C:\Java\jdk1.6.0_31\bin\javaw.exe

This solve the problem and now you can install any plugging without geting stuck and suddenly stopped the process.