Java
Matthew Franz
mdfranz at gmail.com
Tue Apr 19 15:33:42 UTC 2005
You can build your own java package and then install the freemind.deb file
http://www.ubuntulinux.org/wiki/Java
I chose option 2
$ sudo apt-get update
$ sudo apt-get install java-package java-common fakeroot
download the sun jdk from java.sun.com <http://java.sun.com>
** edit /usr/share/java-package/sun-j2sdk.sh to reflect the actual JDK
1.5 release version.
$ fakeroot make-jpkg jdk-1_5_0-linux-i586.bin
$ sudo dpkg -i sun-j2sdk1.5_1.5.0_i386.deb (this reports an error but
is completed in next step)
$ sudo apt-get install sun-j2sdk1.5debian
$ sudo update-alternatives --config java (see next step for dependancy errors)
$ sudo apt-get -f install (fix dependancy errors if required)
And it ends up like:
root at mfranz-t40u:/home/mfranz # dpkg -s sun-j2sdk1.4
Package: sun-j2sdk1.4
Status: install ok installed
Priority: optional
Section: non-free/devel
Installed-Size: 92115
Maintainer: Matthew Franz
Architecture: i386
Version: 1.4.2+07
Replaces: sun-j2sdk1.4debian
Provides: java-common, java-virtual-machine, java-runtime, java2-runtime,
java-b rowser-plugin, java-compiler, java2-compiler, j2sdk1.4, j2re1.4
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)
Description: Java(TM) 2 SDK, Standard Edition, Sun Microsystems(TM)
The Java(TM) 2 SDK is a development environment for building
applications, applets, and components that can be deployed on the
Java platform.
.
The Java(TM) 2 SDK software includes tools useful for developing and
testing programs written in the Java programming language and running
on the Java platform. These tools are designed to be used from the
command line. Except for appletviewer, these tools do not provide a
graphical user interface.
.
This package has been automatically created with java-package (0.19).
On 4/19/05, Andy <andy.choens at gmail.com> wrote:
>
> After installing Hoary I followed the directions on the unofficial FAQ
> and installed things like Java. I have Java 1.5 on my computer and it
> works just fine.
>
> I would like to install a program called freemind. I have it on my
> hard-drive, and I have used dpkg to install it, by forcing it to. It
> claims it can't install it because it needs Java, and since I never
> installed a .deb with Java on it, it has no evidence that there is any
> Java on the computer. After forcing it to install, it runs just fine.
>
> It does not however run all of the configuration stuff, because
> there's no menu entry etc. How can I force dpkg to do this. I tried
> the congifure option to dpkg, but I don't think it did everything.
>
> Second Question: Now everytime I open up synaptic, it removes
> freemind, and I have to add it back in. Apt sees freemind as a broken
> package. How can I tell apt (and thus synaptic) to ignore freemind?
>
> Thanks!
>
> --andy
> --
> -------------------------------------------------------------
> Andy Choens
> Teen Leadership Program Director
> Ramapo For Children
> Office: 845 - 876 - 8403
> -------------------------------------------------------------
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
Matthew Franz
http://www.io.com/~mdfranz/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050419/8468ecdd/attachment.html>
More information about the ubuntu-users
mailing list