You can build your own java package and then install the freemind.deb file<br>
<br>
<a href="http://www.ubuntulinux.org/wiki/Java">http://www.ubuntulinux.org/wiki/Java</a><br>
<br>
I chose option 2<br>
<pre>$ sudo apt-get update<br>$ sudo apt-get install java-package java-common fakeroot<br><br>download the sun jdk from <a href="http://java.sun.com">java.sun.com</a><br>** edit /usr/share/java-package/sun-j2sdk.sh to reflect the actual JDK 
1.5 release version.<br><br>$ fakeroot make-jpkg jdk-1_5_0-linux-i586.bin<br>$ sudo dpkg -i sun-j2sdk1.5_1.5.0_i386.deb (this reports an error but is completed in next step)<br>$ sudo apt-get install sun-j2sdk1.5debian<br>
$ sudo update-alternatives --config java (see next step for dependancy errors)<br>$ sudo apt-get -f install (fix dependancy errors if required)</pre>
<br>
And it ends up like:<br>
<br>
root@mfranz-t40u:/home/mfranz # dpkg -s sun-j2sdk1.4<br>
Package: sun-j2sdk1.4<br>
Status: install ok installed<br>
Priority: optional<br>
Section: non-free/devel<br>
Installed-Size: 92115<br>
Maintainer: Matthew Franz<br>
Architecture: i386<br>
Version: 1.4.2+07<br>
Replaces: sun-j2sdk1.4debian<br>
Provides: java-common, java-virtual-machine, java-runtime,
java2-runtime, java-b rowser-plugin, java-compiler, java2-compiler,
j2sdk1.4, j2re1.4<br>
Depends: libasound2 (>> 1.0.8), libc6 (>= 2.3.2.ds1-4),
libgcc1 (>= 1:4.0-0pre6u buntu4), libx11-6 | xlibs (>> 4.1.0),
libxext6 | xlibs (>> 4.1.0), libxi6 | xlib s (>> 4.1.0),
libxp6 | xlibs (>> 4.1.0), libxt6 | xlibs (>> 4.1.0),
libxtst6 | x libs (>> 4.1.0)<br>
Description: Java(TM) 2 SDK, Standard Edition, Sun Microsystems(TM)<br>
 The Java(TM) 2 SDK is a development environment for building<br>
 applications, applets, and components that can be deployed on the<br>
 Java platform.<br>
 .<br>
 The Java(TM) 2 SDK software includes tools useful for developing and<br>
 testing programs written in the Java programming language and running<br>
 on the Java platform. These tools are designed to be used from the<br>
 command line. Except for appletviewer, these tools do not provide a<br>
 graphical user interface.<br>
 .<br>
 This package has been automatically created with java-package (0.19).<br>
<br>
<br><br><div><span class="gmail_quote">On 4/19/05, <b class="gmail_sendername">Andy</b> <<a href="mailto:andy.choens@gmail.com">andy.choens@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After installing Hoary I followed the directions on the unofficial FAQ<br>and installed things like Java.  I have Java 1.5 on my computer and it<br>works just fine.<br><br>I would like to install a program called freemind.  I have it on my
<br>hard-drive, and I have used dpkg to install it, by forcing it to.  It<br>claims it can't install it because it needs Java, and since I never<br>installed a .deb with Java on it, it has no evidence that there is any<br>
Java on the computer.  After forcing it to install, it runs just fine.<br><br>It does not however run all of the configuration stuff, because<br>there's no menu entry etc.  How can I force dpkg to do this.  I tried<br>the congifure option to dpkg, but I don't think it did everything.
<br><br>Second Question:  Now everytime I open up synaptic, it removes<br>freemind, and I have to add it back in.  Apt sees freemind as a broken<br>package.  How can I tell apt (and thus synaptic) to ignore freemind?<br><br>
Thanks!<br><br>--andy<br>--<br>-------------------------------------------------------------<br>Andy Choens<br>Teen Leadership Program Director<br>Ramapo For Children<br>Office: 845 - 876 - 8403<br>-------------------------------------------------------------
<br><br>--<br>ubuntu-users mailing list<br><a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br><a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-users">http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
</a><br></blockquote></div><br><br><br>-- <br>Matthew Franz<br><a href="http://www.io.com/~mdfranz/">http://www.io.com/~mdfranz/</a>