<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Interestingly I had this java issue on Ubuntu Warty almost a year ago.
But with the help of this list, I was able to set up the java
environment correctly and was pleased with the results. Then I received
my Breezy CDs and had it installed on another PC. The same issue of the
correct java environment came up again. I thought that based on my
experience from Warty I could applied some of it to sort my problem
out. Alas,<br>
<br>
I find that I can't get fakeroot to convert the
jdk-1_5_0_06-linux-i586.bin to a deb package so I can install java
using dpkg - command.<br>
As suggested in the wiki, I tried<br>
<br>
DEB_BUILD_GNU_TYPE=i386-linux fakeroot make-jpkg
jdk-1_5_0_06-linux-i596.bin<br>
and still it is unsuccessful.<br>
<br>
The default java command from the output of the 'update-alternatives
--config java' command is:<br>
<br>
/usr/lib/jvm/java-gcj/bin/java.<br>
<br>
There are no alternatives for the javac command.<br>
<br>
Now I had installed java manually under /usr/local and set my JAVA_HOME
environment<br>
to point to /usr/local/jdk1.5.0_06<br>
<br>
This still does not have any effect. i.e I cannot get it to point to
/usr/local/jkd1.5.0_06/bin/java.<br>
<br>
If I set the javac alternatives from the /etc directory, the system
tells me that there are<br>
no alternatives for javac.<br>
<br>
So I in fact have two problems:<br>
<br>
1. I cannot install java using the Debian way i.e using fakeroot<br>
<br>
2. I cannot get the system to point to the manually installed java
directory even after the correct environment is set.<br>
<br>
It seems that the default Ubuntu installation has precedence over the
manual installation.<br>
<br>
I have downloaded the eclipse software which I am trying to test on the
platform but so far there is no correct<br>
java environment to enable the testing.<br>
<br>
The wiki on java is of some help but unfortunately could not work
readily for my case although some of the problems<br>
described there applied to my system.<br>
<br>
Some input on these would help sort the problem out as was the case
when I used Warty.<br>
<br>
By the way, all the java files are downloaded from the Sun site.<br>
<br>
Alfred Vahau<br>
<br>
Erik Jakobsen wrote:<br>
<blockquote cite="mid444DDB6D.10601@urbakken.dk" type="cite">
  <pre wrap="">kareem shabazz wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Check out this link:

<a class="moz-txt-link-freetext" href="https://wiki.ubuntu.com/RestrictedFormats#head-0a52a913dd6107958d0de0b4110e9228200cb677">https://wiki.ubuntu.com/RestrictedFormats#head-0a52a913dd6107958d0de0b4110e9228200cb677</a>

On 4/25/06, *Erik Jakobsen* <<a class="moz-txt-link-abbreviated" href="mailto:eja@urbakken.dk">eja@urbakken.dk</a> <a class="moz-txt-link-rfc2396E" href="mailto:eja@urbakken.dk"><mailto:eja@urbakken.dk></a>>
wrote:

    Hi.

    How do I install java on my ubuntu 5.10 i386?

    Erik Jakobsen

    --
    ubuntu-users mailing list
    <a class="moz-txt-link-abbreviated" href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:ubuntu-users@lists.ubuntu.com"><mailto:ubuntu-users@lists.ubuntu.com></a>
    <a class="moz-txt-link-freetext" href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a>




-- 
Kareem Shabazz
219A Battiste Hall
SC State University
Orangeburg, SC 29117 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thank you Kareem

Erik

  </pre>
</blockquote>
</body>
</html>