LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-02-2003, 08:13 PM   #1
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Rep: Reputation: 0
apt-get source for j2sdk1.4 (1.4.0.99 bet)


After installing two non free applications to my Debian Distribution:

Opera

Softmaker's "Textmaker 2003"

I cannot now update or upgrade using APT-GET with the message returned that a source for the file j2sdk1.4 cannot be found.

How can I resolve this problem short of removing the two applications?

How can I stop apt-get from trying to upgrade these two applications?

Thanks,

C.
 
Old 12-02-2003, 08:25 PM   #2
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
j2sdk1.4 is Java 2, Software Development Kit 1.4


i never use opera or Softmaker's "Textmaker 2003

but looks like one of this program will need the java language, so you can download j2dsk1.4 from sun at www.sun.com or at www.java.com

p.s: don't get jre , u need jsdk in order to develop programs
 
Old 12-02-2003, 10:13 PM   #3
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
Some apt-get sources for Blackdown JRE + SDK...


Woody:

deb ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/debian woody main non-free


Sid:

deb http://www.tux.org/pub/java/debian sid main non-free



You can cheekily get Sun j2sdk from the following source:

deb http://debian.medvantx.com/apt debian/opennms unstable

...that repository has j2sdk to fulfil a dependancy for OpenNMS packages.


 
Old 12-03-2003, 09:40 PM   #4
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
ok great, now I understand.

It wasn't Opera or Textmaker, it was my attempt to download the JRE for my copy of Open Office..I realize now that I downloaded the Blackdown JRE which I take it, is for 'development' not quite in my league.

I installed the: j2sdk1.4 Java 2, Software Development Kit 1.4

But instead need the JRE for Linux from www.sun.com or at www.java.com

Thanks a crunch, sirpelidor and rehab junkie.

c.

Last edited by chas; 12-03-2003 at 09:42 PM.
 
Old 12-27-2003, 07:58 PM   #5
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
I downloaded the J2RE-1.4.1.03-linux.bin and put it in a separate directory in my home directory. I attempted to launch this file from within the download directory with:

./J2RE-1_4_1_03-linux.bin (but) got the following message:

bad interpreter: permission denied.

Why was this, I was operating as SU with my user name included in the root directory.

any suggestions?

thanks,

c.
 
Old 12-28-2003, 04:06 AM   #6
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
type: su
type: password
type: chmod a+x J2RE-1.4.1.03-linux.bin
type: ./J2RE-1.4.1.03-linux.bin

....just exactly what the hell is J2RE-1.4.1.03-linux.bin!, and where u got it? :P
 
Old 12-28-2003, 07:56 PM   #7
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
>....just exactly what the hell is J2RE-1.4.1.03-linux.bin!, and where u got it? :P

I was trying to add the JRE to use with Open office. I got mucked up with a plugin
associated with 'blackdown.org' (a mistake) that I installed but later removed, but
not properly apparently, as it messed up apt-get upgrade or dist-upgrade, as apt
kept saying it needed to re-install j2sdk1.4 but couldn't find a 'source'.

I added the two sources provided in that previous post to my apt setup list but still
apt couldn't find the file it needed. I then downloaded the two scrips:

j2re-1.3.0.04-linux.bin was the actual Java Runtime Environment I was trying to install
at first, and also a developers package called j2sdk 1.4.1.06 which I trust Apt will be
now be able to remove, as I won't be using it.

I got these files from sunmicrosystems.com

Hope that clears things up.

Thanks very much for the method in your letter, it did the job. I was completely out
there, but I've have learned a lot from that original mistake.

Thanks,

C.
 
Old 01-22-2004, 10:05 PM   #8
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
I'm stumped.

I installed the necessary lines in apt-setup as suggested in a previous post to supposedly
supply the required file apt-get keeps wanting to reinstall:

"J2sdk1.4 needs to be reinstalled but I cannot find a source for it"

None of the suggested sources seem to have the required file so apt-get is completely
stuck, it cannot do anything further than update its sources, but none of these have
this necessary file.

Is there a way to get apt-get to stop trying to reinstall this file?

Nothing can happen it seems until this file is 'reinstalled'.

C..
 
Old 01-22-2004, 11:22 PM   #9
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
if your distro (i'm a linux newbie also) is looking for ----source----, try compile open office or whatever (while doing ./configure) with prefix points to your java dir .

i think it was looking for source is because by default, its looking from some folder which u don't have java installed (for example, usr/local or something)

if you have java installed in ~/home/java/... then you gotta point that path so that the program know where java/bin is locate

hope that helps,
 
Old 01-23-2004, 06:56 PM   #10
chas
LQ Newbie
 
Registered: Aug 2000
Location: New York and Texas
Distribution: Debian sid
Posts: 20

Original Poster
Rep: Reputation: 0
>if your distro (i'm a linux newbie also) is looking for ----source----, try >compile open office or whatever (while doing ./configure) with prefix points >to your java dir .

OK that sounds like it may be on the right track (my distro is debian, isn't this the debian forum?) however, I don't exactly know how you would start this recompile..

as SU on a command line:

./configure home/open office/

or

./configure home/J2re-1.3.0.04-linux bin

or

./configure home/j2sdk-1.4.1.06-linux bin

Is that what you're on about? Would apt-get 'see' this as the location of that file, and use it to 're-install' the file it wants?

thanks,

C.
 
Old 01-23-2004, 09:26 PM   #11
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
heh, the reason ur post got my attention since day 1 was because u were asking question about java relation topic. i didn't even know this is a debian forum.... sorry :P

anyway, when do ./configure --help it should give u a list of options like what u can and what u can't do.


if u follow the list, u should be able to see where the ./configure is looking for certain path, in this case...that is /java/bin
 
  


Reply



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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
apt-get j2sdk1.4, now where is my path? lefty.crupps DamnSmallLinux 4 10-18-2005 01:19 PM
Database start-ups bet on open source rvijay Linux - News 0 08-10-2005 08:58 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 08:49 PM
difference bet dpkg -r and apt-get remove? pablowablo Linux - Newbie 2 08-06-2004 03:45 PM

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

All times are GMT -5. The time now is 10:41 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