Java

Derick Centeno aguilarojo at verizon.net
Thu Jan 6 06:07:55 MST 2005


On Thu, 2005-01-06 at 01:32, Chris Tou wrote:
> I can't seem to get Java to work on YDL 4.0. I've tried downloading it from 
> Sun's website, but it won't install using rpm. KDevelop also won't work for 
> Java, either. Is this another problem with 4.0? Is it possible to run Java?
> 
> Chris Tou

Dear Chris:
Here's what you are supposed to do when you are searching for java or
anything else, use yum!!  Here's a search yum just did for me, although
it is searching in YDL 3.0 repositories, remember that your yum.conf can
be modified to search all repositories, where-ever they are
simultaneously, you don't have to be restricted to the respositories
written in originally.  Some other people on this list have all posted
modified working yum.conf which you can use as a guide to modify your
own and also some have listed repositories in other countries which are
more complete or full of other resources.  You are not obligated to use
or remain with YDL repositories.  

The yum search follows:

[root at arakus aguilarojo]# yum search *java*
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 3.0 base
Server: Yellow Dog Linux 3.0 - ppc - freshrpms
Server: Yellow Dog Linux 3.0 - ppc - os
Server: Yellow Dog Linux 3.0 - ppc - updates
Server: Yellow Dog Linux 3.0.1 updates
Finding updated packages
Downloading needed headers
Looking in available packages for a providing package
Available package: postgresql-jdbc.ppc 0:7.2.3-5.80 from base matches
with
 Files needed for Java programs to access a PostgreSQL database.
Available package: db4-java.ppc 0:4.0.14-14 from base matches with
 Development files for using the Berkeley DB (version 4) with Java.
Available package: db4-java.ppc 0:4.0.14-14 from base matches with
 db4-java
Available package: mozilla-js-debugger.ppc 38:1.6-1.0.yd3.fr from
freshrpms matches with
 JavaScript debugger for use with Mozilla.
Available package: mozilla-js-debugger.ppc 38:1.6-1.0.yd3.fr from
freshrpms matches with
 JavaScript debugger for use with Mozilla
5 results returned
Looking in installed packages for a providing package
Installed package: gcc-java.ppc 0:3.2.2-2a matches with
 gcc-java
1 results returned
[root at arakus aguilarojo]#

Notice that yum tells me that I have gcc-java installed already which
means I can do java programming within the gcc compiler just as easily
as I would use C or C++ or python -- you get it!  If you run a yum
search on your system yum will tell you also what you have.  Try it!!

Chris, remember if you want what yum says is available, then you do yum
install.  Here is an example, I want mozilla javascript so here is what
I do:

[root at arakus aguilarojo]# yum install mozilla-js*
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 3.0 base
Server: Yellow Dog Linux 3.0 - ppc - freshrpms
Server: Yellow Dog Linux 3.0 - ppc - os
Server: Yellow Dog Linux 3.0 - ppc - updates
Server: Yellow Dog Linux 3.0.1 updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: mozilla-js-debugger 38:1.6-1.0.yd3.fr.ppc]
Is this ok [y/N]: y
Downloading Packages
Getting mozilla-js-debugger-1.6-1.0.yd3.fr.ppc.rpm
mozilla-js-debugger-1.6-1 100% |=========================| 206 kB   
00:02
Running test transaction:
Test transaction complete, Success!
mozilla-js-debugger 100 % done 1/1
Installed:  mozilla-js-debugger 38:1.6-1.0.yd3.fr.ppc
Transaction(s) Complete
[root at arakus aguilarojo]#

Best wishes...




More information about the yellowdog-newbie mailing list