LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-10-2008, 10:35 PM   #16
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533

Installing apps in Debian is a piece of cake with sprinkles and whipped cream, once you understand how to use the power of APT, learn how to search for packages apt-get search packagename or install a GUI like kio-apt or (shudder) Synaptic.
Of course using Google to find the answer to a simple issue helps as well.
 
Old 03-11-2008, 06:49 AM   #17
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by AceofSpades19 View Post
you don't run jre, its a browser plugin
I don't need to know what I don't do
... I need to know what I do do
... if you'll pardon the expression!

Yeah ... Sorry to be this way but ...

Is THAT supposed to help me?
I've received that Distros for newbies twice.
Is THAT supposed to help me?
I've executed apt-get ... what next???
So I've executed it ... what have I accomplished?
... towards my end result
... I want to run java/javac ...
... so far I'm not there and don't know how to get there.

Sorry ... gotta go to work.

Thanks for your help!
J
 
Old 03-11-2008, 06:54 AM   #18
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
Installing apps in Debian is a piece of cake with sprinkles and whipped cream, once you understand how to use the power of APT, learn how to search for packages apt-get search packagename or install a GUI like kio-apt or (shudder) Synaptic.
Of course using Google to find the answer to a simple issue helps as well.
Yeah ...
Likeweverything else ... It's easy to do if you know how and impossible if you don't. Good thing is ... helpers like you make the impossible easy ... Thanks.

Find packages? First I heard of THAT.
Little by little the sun begins to shine.
I'm leaving winter and ... maybe ... entering Spring.

Gotta go to work...Laater.
 
Old 03-11-2008, 05:23 PM   #19
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by john.d.reynolds View Post
I don't need to know what I don't do
... I need to know what I do do
... if you'll pardon the expression!

Yeah ... Sorry to be this way but ...

Is THAT supposed to help me?
I've received that Distros for newbies twice.
Is THAT supposed to help me?
I've executed apt-get ... what next???
So I've executed it ... what have I accomplished?
... towards my end result
... I want to run java/javac ...
... so far I'm not there and don't know how to get there.

Sorry ... gotta go to work.

Thanks for your help!
J
Javac is a command in the terminal. Apt-get installs a program. The distros for newbies is part of my signature that attaches to all my posts.
The jre is a plugin that runs every time you run a java applet in a browser, or a java program like azerus
 
Old 03-12-2008, 10:35 PM   #20
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile Just some more help needed.

Quote:
Originally Posted by AceofSpades19 View Post
Javac is a command in the terminal. Apt-get installs a program. The distros for newbies is part of my signature that attaches to all my posts.
The jre is a plugin that runs every time you run a java applet in a browser, or a java program like azerus
Gotcha ... sorta.

Now I have jre installed.

What I'm trying to do is run the java compiler ... javac.

supposing I can figure out how to compile a "Hello World" java program ...
How does the jre get "linked" in?

... and how DO I run the java compiler ... I can't find it in my file system ... If I could how do I manage to execute it from a trminal window? I know all this sounds very basic but I have "been there, done that" just haven't been able to "do it from scratch" on my new computer/linux system ... before it was a Windows system.

Gotta to to bed now ... gotta go to work tomorrow.

I (now) understand about the Distros ... It just sorta added to my confusion.

By the way ... At 75 I hava few senior moments.

FYI ... Been working as a programmer since 1957 ... first big IBM machines ... for the Air Force (ANFSQ-7 Sage Air Defense System/ANFSQ-32 Strategic Air Command and Control System) ... all assembly language (Compass), then Fortran, then Pascal, LISP, then Ada, then C now Java, C++, HTML ... it never ends. Now working fulltime on Air Traffic Control systems ... but no Java or HTML ... new things I want to learn ... to sorta keep up ... just can't seem to give it up.

Thanks for everyone's help.

Last edited by john.d.reynolds; 03-12-2008 at 10:37 PM.
 
Old 03-13-2008, 11:20 PM   #21
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile My java execution problem!

Can anybody help??
 
Old 03-13-2008, 11:39 PM   #22
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you open a terminal and type
javac filename.java jre is the program that runs the java programs
 
Old 03-15-2008, 08:17 AM   #23
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by AceofSpades19 View Post
you open a terminal and type
javac filename.java jre is the program that runs the java programs
.. so ... there lies the hitch ..

No such file ... Command not found

$which javac ... sorry nothing found

I linda looked around but nothing found,

Didn't really know where to look.

Thanks
 
Old 03-15-2008, 11:50 AM   #24
lycan
Member
 
Registered: Jul 2007
Location: Kolkata, INDIA
Distribution: Debian Lenny
Posts: 51

Rep: Reputation: 15
To install "javac" execute in a terminal as root user
Code:
apt-get install sun-java5-jdk
You are set.
 
Old 03-16-2008, 09:19 AM   #25
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by lycan View Post
To install "javac" execute in a terminal as root user
Code:
apt-get install sun-java5-jdk
You are set.
Decided to try it anyway!!

NOT QUITE!!!

sudo apt-get install sun-java5-jdk/CODE
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package sun-java5-jdk
john@athlon64:~$
 
Old 03-16-2008, 09:22 AM   #26
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
$ apt-cache search sun-java
openoffice.org - OpenOffice.org Office suite
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
sun-java6-doc - Sun JDK(TM) Documention -- integration installer
sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files
 
Old 03-16-2008, 09:48 AM   #27
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Debian software comes in different sections. In order to get sun-java packages, you would need to have "non-free" in your /etc/apt/sources.list. So for example mine (in Lenny, the testing branch of Debian) looks like this:
Quote:
odysseus ~ $ cat /etc/apt/sources.list
#### Apt sources list

### The basic sources - Lenny/Testing
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

### Security updates - Lenny/Testing
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

### Debian-multimedia
deb http://debian-multimedia.gnali.org testing main
deb-src http://debian-multimedia.gnali.org testing main
So you will probably need to edit that file. As a start, can you please post the output of
Quote:
cat /etc/apt/sources.list
My guess is that you don't have the non-free (and contrib) elements.
 
Old 03-16-2008, 03:24 PM   #28
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by craigevil View Post
$ apt-cache search sun-java
openoffice.org - OpenOffice.org Office suite
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
sun-java6-doc - Sun JDK(TM) Documention -- integration installer
sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files
Yeah ... and aren't you the whipped cream and sprinkles guy? Sure you don't wanna take that back? Lets see ... I've been working this "piece of cake" for two weeks now ... it's either not that easy or I'ma real dunce. ... don't answer that ... By thee way ... I'm just kidding ... but REALLY ... all I wanna do is execute javac! Gee Whizzzz!!!!
 
Old 03-16-2008, 03:27 PM   #29
john.d.reynolds
LQ Newbie
 
Registered: Mar 2007
Location: Gaithersburg, MD
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by craigevil View Post
$ apt-cache search sun-java
openoffice.org - OpenOffice.org Office suite
sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture dependent files)
sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and examples
sun-java5-doc - Sun JDK(TM) Documention -- integration installer
sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0 (architecture independent files)
sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-java6-demo - Sun Java(TM) Development Kit (JDK) 6 demos and examples
sun-java6-doc - Sun JDK(TM) Documention -- integration installer
sun-java6-fonts - Lucida TrueType fonts (from the Sun JRE)
sun-java6-javadb - Java(TM) DB, Sun Microsystems' distribution of Apache Derby
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
sun-java6-plugin - The Java(TM) Plug-in, Java SE 6
sun-java6-source - Sun Java(TM) Development Kit (JDK) 6 source files
Yeah ... and aren't you the whipped cream and sprinkles guy? Sure you don't wanna take that back? Lets see ... I've been working this "piece of cake" for two weeks now ... it's either not that easy or I'ma real dunce. ... don't answer that ... By the way ... I'm just kidding ... but REALLY ... all I wanna do is execute javac! Gee Whizzzz!!!!
 
Old 03-16-2008, 04:12 PM   #30
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
Quote:
Originally Posted by john.d.reynolds View Post
Yeah ... and aren't you the whipped cream and sprinkles guy? Sure you don't wanna take that back? Lets see ... I've been working this "piece of cake" for two weeks now ... it's either not that easy or I'ma real dunce. ... don't answer that ... By the way ... I'm just kidding ... but REALLY ... all I wanna do is execute javac! Gee Whizzzz!!!!
See my post above which probably explains why he can see things you can't. Post the output of
Quote:
cat /etc/apt/sources.list
 
  


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
RPM Problem seesharp Linux - Newbie 2 11-22-2004 03:12 PM
Rpm Problem!!! Schiller Linux - Newbie 3 12-10-2003 07:40 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
RPM problem! yenonn Linux - General 4 04-14-2003 07:28 AM
rpm problem katana *BSD 2 08-07-2002 06:17 AM

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

All times are GMT -5. The time now is 12:52 PM.

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