LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices


Reply
  Search this Thread
Old 06-02-2006, 09:16 AM   #1
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Rep: Reputation: 16
Smile Install JDK on Mepis


(Date: 6-2-2006)
I found the solution to installing a Java development environment(JDK) on Mepis. It was right under my nose.

Try: apt-cache search sun
Then: Pick what you want, say j2sdk1.4
Install: apt-get install j2sdk1.4

Piece of cake!
 
Old 06-02-2006, 05:34 PM   #2
mos
Member
 
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231

Rep: Reputation: 30
really that isnt an optimal solution, 1.5 is not avaliable. Yes there were a lot of changes from 1.4->1.5

what you should be doing is this:
http://www.mepislovers-wiki.org/inde...new_JDK_or_JRE
 
Old 06-06-2006, 09:47 AM   #3
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
same as below

a repeat is below. so this has been erased.

Last edited by tuxhats; 06-06-2006 at 06:16 PM. Reason: dual post
 
Old 06-06-2006, 05:48 PM   #4
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 639

Rep: Reputation: 193Reputation: 193
This is also on Mepislovers (though not in the wiki)

Quote:
Speedy wrote:
This is a deb created by the package "java-package" which is available in the repos. This is the way you should do it as it displays the licence agreement you need to accept.

You need any java.bin from java.com and run

Code:
make-jpkg FilenameofJava.bin
This will create a .deb you can install in kpackage, dpkg etc.

This way you can keep upto date without having to wait for anyone else to make packages. Try it!! It's fun :-)
see here:
http://www.mepislovers.org/modules/n...topic_id=14965

EDIT: Actually it is also available in the debian sid repos too.
http://packages.debian.org/unstable/devel/sun-java5-jdk

Last edited by anticapitalista; 06-06-2006 at 05:58 PM.
 
Old 06-06-2006, 06:11 PM   #5
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
Question sounds good, but does NOT work

Duplicate below, sorry about my mistake

Last edited by tuxhats; 06-07-2006 at 08:09 AM.
 
Old 06-06-2006, 06:16 PM   #6
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
Question sounds good, but does NOT work

Same.... below ......

Last edited by tuxhats; 06-07-2006 at 08:09 AM.
 
Old 06-06-2006, 08:51 PM   #7
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
Question sounds good, but does NOT work

Referring to http://www.mepislovers-wiki.org/inde...new_JDK_or_JRE
... Here's what I get ...

tuxhats@1[tmp]$ fakeroot make-jpkg jdk-1_5_0_07-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXX1cqC0b
Loading plugins:/usr/bin/make-jpkg: line 180: cd: /usr/share/java-package: No such file or directory

Aborted (/usr/share/java-package).

Removing temporary directory: done
tuxhats@1[tmp]$
......................................

I have java-package installed, quote:
..... "java-package is already the newest version."

And locating "java-package" I get:

tuxhats@1[tmp]$ locate java-package
/usr/share/doc/java-package
/usr/share/doc/java-package/changelog.gz
/usr/share/doc/java-package/copyright
/usr/share/doc/java-package/README.Debian
/usr/share/doc/java-package/SUPPORTED
/var/lib/dpkg/info/java-package.list
/var/lib/dpkg/info/java-package.md5sums
tuxhats@1[tmp]$

It appears that Mepis lovers have not recently tried this (link) with success. Perhaps a totally new install, such as mine(3.4-3), would give you different results that are not obtainable now as is.

I'm still looking for a working solution. Thanks A BUNCH!
 
Old 06-07-2006, 06:04 AM   #8
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 639

Rep: Reputation: 193Reputation: 193
tuxhats,
Why the same post 4 times? (1 deleted)

Anyhow, did you read my post? Did it help/work?
Hope so.
 
Old 06-07-2006, 08:14 AM   #9
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
continued

anticapitalista,

Thanks for the input. I have the latest version of java-package installed.
"..... java-package is already the newest version."

Did you read my input? Here it is again:

tuxhats@1[tmp]$ fakeroot make-jpkg jdk-1_5_0_07-linux-i586.bin
Creating temporary directory: /tmp/make-jpkg.XXXX1cqC0b
Loading plugins:/usr/bin/make-jpkg: line 180: cd: /usr/share/java-package: No such file or directory

Aborted (/usr/share/java-package).

Removing temporary directory: done
tuxhats@1[tmp]$

Yet I have java-package installed and it is the latest version....



.... I have not yet tried the 2nd link you offered and am doing so now.
see here:
http://www.mepislovers.org/modules/n...topic_id=14965

Last edited by tuxhats; 06-07-2006 at 08:18 AM.
 
Old 06-07-2006, 09:00 AM   #10
tuxhats
Member
 
Registered: Dec 2005
Location: Austin, Texas area
Distribution: I have multiple Distos available, but I mostly use Ubuntu.
Posts: 47

Original Poster
Rep: Reputation: 16
Talking Success!

anticapitalista,

Yes the .deb file link worked when I did:

dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb
update-alternatives --config java
(chose the new one)

Tested it with: java -version

Excellent! Thanks for the link, http://www.mepislovers.org/modules/n...topic_id=14965
or better yet
http://linox.be/index.php/downloads/

THANKS AGAIN!
 
Old 06-07-2006, 09:14 AM   #11
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 639

Rep: Reputation: 193Reputation: 193
Glad it worked, seems a lot easier than what's in the Mepislovers wiki. Maybe I'll add to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Would like to install jdk 1.5 bin jadewarrior Red Hat 2 06-29-2006 03:48 AM
J2SE JDK 1.5.0-06 Install Errors liquidrabbit Linux - Software 2 04-30-2006 06:48 PM
mepis ... trying to install...help GoinEasy9 Linux - General 0 05-15-2004 01:44 AM
How to install Jdk in linux... Help me :( jolly Linux - General 9 09-13-2001 02:57 PM
JDK binary file install marknyhan Linux - General 2 08-13-2001 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS

All times are GMT -5. The time now is 09:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration