public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: Anthony Green <green@redhat.com>
To: rhug-rhats@sources.redhat.com
Cc: java@gcc.gnu.org
Subject: rhug RPMS available
Date: Thu, 11 Jul 2002 09:55:00 -0000	[thread overview]
Message-ID: <1026406553.1956.54.camel@dhcppc2> (raw)

Now that libgcj 3.1 RPMS available for Red Hat Linux, I've placed my
first rhug RPMS up for ftp...

	ftp://sources.redhat.com/pub/rhug/RPMS/i386
and	ftp://sources.redhat.com/pub/rhug/SRPMS

I used Red Hat Network and up2date to get libgcj3, however I think it is
also available via rpmfind.net and other sources.

These are some of my first RPMS, so comments would be appreciated.  The
spec files are checked into cvs.  I used "make dist" to generate
tarballs, and then "rpm -ta rhug-foo.tar.gz" to build the RPMS.

These first RPMS are for gnu.readline, rhino (the Mozilla javascript
interpreter), and the postgresql jdbc driver.

This is enough to do some database scripting...

---- cut here ----------------------
#!/usr/bin/js

user = "myname";
pass = "mypassword";
driver = "org.postgresql.Driver";
url = "jdbc:postgresql://myserver.foo.com/mydb";

// Set up the postgresql jdbc driver.
java.sql.DriverManager.registerDriver (java.lang.Class.forName (driver).newInstance());

// Establish a connection...
con = java.sql.DriverManager.getConnection(url, user, pass);

// Prepare and execute the query
pstmt = con.prepareStatement ("SELECT name FROM people");
rset = pstmt.executeQuery();

// Report the results
rset.first();
while (! rset.isAfterLast())
{
  print (rset.getString(1));
  rset.next();	
}

// Close everything
rset.close();
con.close();

---- cut here ----------------------

AG




                 reply	other threads:[~2002-07-11 16:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1026406553.1956.54.camel@dhcppc2 \
    --to=green@redhat.com \
    --cc=java@gcc.gnu.org \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).