LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   apt-get source for j2sdk1.4 (1.4.0.99 bet) (https://www.linuxquestions.org/questions/debian-26/apt-get-source-for-j2sdk1-4-1-4-0-99-bet-122114/)

chas 12-02-2003 08:13 PM

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.

sirpelidor 12-02-2003 08:25 PM

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

rehab junkie 12-02-2003 10:13 PM

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.


:)

chas 12-03-2003 09:40 PM

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.

chas 12-27-2003 07:58 PM

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.

sirpelidor 12-28-2003 04:06 AM

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

chas 12-28-2003 07:56 PM

>....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.

chas 01-22-2004 10:05 PM

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..

sirpelidor 01-22-2004 11:22 PM

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,

chas 01-23-2004 06:56 PM

>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.

sirpelidor 01-23-2004 09:26 PM

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


All times are GMT -5. The time now is 02:21 AM.