[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debugging a java programme [RESOLVED]



lincolnr wrote:
On Tue, Apr 29, 2008 at 07:31:50AM +0100, andy wrote:
  
Hi Linc

Thanks for coming back to me on this. I ran apt-cache search sun and this 
was the output:

sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture 
dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture 
independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture 
dependent files)
sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
sun-java6-doc - Sun JDK(TM) Documention -- integration installer
sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture 
independent files)
sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files

I recognise that there are two groups java5 and java6. My inclination is to 
go for java6, but are there specific packages required that you have in 
mind wrt your recommendation?

Cheers

Andy
    
Hi Andy,
The safe way to go would be java5, as there are a lot of things that don't like java6.  If you install the sun-java5-jdk package, I think it will install the rest as dependencies.  

Then you will probably need to run update-alternatives --config java, update-alternatives --config javac, update alternatives --config jar, and select the sun versions as default.  Then your system will automatically use the sun java components and not the GNU java implementation.

Good luck!

Linc  


  
Linc

That worked like a charm!! Thank you so very much for your patience and help. I owe you a debt of gratitude.

I know that sometimes old timers get frustrated with n00bs such as myself, so I am really very appreciative of you working with me as you have done in resolving this issue. I've taken the liberty of posting this to the Deb list for the archive just in case someone in the future needs this info and you aren't available to help them out then.

Many, many thanks

Best wishes

Andy

-- 

"If they can get you asking the wrong questions, they don't have to worry about the answers." - Thomas Pynchon, "Gravity's Rainbow"

Reply to: