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

Re: Java and Debian



On Sat, 27 Jan 2007 16:58:08 +0100
Danesh Daroui <danesh.d@bredband.net> wrote:

> Hi all,
> 
> I have tried to install JDK5 on debian and it installed without
> problem by running:
> 
> apt-get install sun-java5-jdk
> 
> which is version 1.5.0_08
> 
> but when I try to install java runtime using
> 
> apt-get install sun-java5-jre
> 
> however it is installed ok, but the version is 1.4
> 
> how can I install java runtime environment 1.5.0_08 as it is for jdk?
> I need it because otherwise programs written in latest java will not
> be run.
> 
> Regards,
> 
> D.
> 
> 

Are you sure the version is 1.4? If it is, I suspect the alternatives
system is the problem. Could you give the output of the following
commands please?

    file $(which java)
    file /etc/alternatives/java
    java -version

-- 

Liam



Reply to: