JDK 1.2 for Linux

1998-11-29 Thread freeman

How can I take a look at the code?



The Jini Community

1999-01-04 Thread freeman

Are you ready for Y2K?

The Jini Community is a new gathering place where developers can discuss
Javasoft's Jini technology. It has chat rooms, web board, security,
email listserv, and search engine. The url for the new site is
http://jini.siliware.com. Currently, we are seeking strategic alliances,
partners, forum administrators, volunteers, and Jini related news,
products, demos, and tutorials.

If you or someone you know would like to participate in making Jini
products and services or just simple wish to work with Jini, please let
us know. You can become a forum administrator, showcase your Jini
products and services, and exchange links to your Jini website.

Take advantage of Javasoft's Source Community License. If you have not
downloaded Jini and compiled the examples, you don't know what your
missing. Jini is the next wave! Why not become a part of it.

You got where you are by working harder than the next guy. Here is your
chance to do it again.

http://jini.siliware.com
Jini Community Administrator
Siliware, Inc.
45 Rockefeller Center, 20th Floor
New York, NY 10111
Voice 212-332-8193



sorry about the cc

1998-09-04 Thread Kenny Freeman


sorry everybody (unless you have anything to do with spam), I haven't even
finished my first coffee yet (well, I mean I hadn't at that point)My
apologies for my big clumsy fingers hitting ^XI've got a short fuse
and a slow mind sometimes.
__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." -someones .sig on comp.hw.overclking





Re: Stuck

1998-05-10 Thread Kenny Freeman

Hey,

I had the same problem as you when trying to install the JDK. I spent
about two full days on it, but I eventually got things working.
Hrnow..how did I do it? I think, first of all you have to get the
new/fixed libc's from redhat (ftp.redhat.com//updates?/i386/ or
something). Basically, out of shear frustration, I ended up simply
downloading ALL of the new library's. Hr.Next I got lesstif (0.81
I think), but that shouldn't matter anyhow, because you can get a staticly
linked jdk - mine is linked with lesstif (I'm pretty sure), and has a
few little bugs, but works fairly well. Anyhow, I'll see if I can send you
the output of my ldconfig. The only JDK that would work was
JDK1.1.5v5-980311, and I believe I got it from www.blackdown.org (Steve
Byrne's port). Try the README.linux for linking with Motif -
it is pretty important to get that right for AWT stuff. I haven't tried
the jdk1.1.5v7 yet, so I couldn't say what you'll run into with that. I
hope this helps (or at least points you in the right direction).

KF

On Sun, 10 May 1998, cdrobert wrote:

> Hi
> 
> I was wondering if you could perhaps point me in the right direction. I
> am looking for a good How-To or Newsgroup where I can
> figure out how to get Java running on RH5. I've followed your mailing
> lists for sometime but I'm less interested in development than
> just trying to get the thing to work in the first place. I want to use
> the JDK based ports, not Kaffe if at all possible. I had no problem
> at all while under RH4.2 but everything got 10X harder when using 5. If
> you know of any good sites or newsgroups that I can
> read... please let me know. Thanx.
> 
> C. Roberts.
> 
> 
> 




Re: Classes.zip 1.1.5v7

1998-05-10 Thread Kenny Freeman

Netscape 3.04 uses java version 1.0 or so. You are using java
1.1 or so - or at least the applet is written in java 1.1. A java 1.0
runtime cannot "run"/interpret a java 1.1 class file. Just guessing. Does
anyone else know for sure? 

On Sun, 10 May 1998, Roger Hill wrote:

> I am trying to run an applet in netscape 3.04 (Linux).
> 
> It gives me every time: Cannot run applet: zip file is so old it does not
> have a version number.
> 
> Classes.zip was downloaded last week!
> 
> What is Netscape talking about?
> Thanks
> 
> 
> Roger Hill, P.O.Box 4T, Barbados, West Indies.   E-mail:[EMAIL PROTECTED]
> Tel:246-228-5216/230-9596   Fax:246-433-8365 
> 
> 




Re: Unidentified subject!

1998-05-13 Thread Kenny Freeman



On Thu, 14 May 1998, 245tt4 wrote:

> Authenticated sender is <[EMAIL PROTECTED]>
> Subject:  2 w 44
> Mime-Version: 1.0
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> 
> EMAIL MARKETING WORKS!!
> 
> Bull's Eye Gold is the PREMIER email address collection tool.
> This program allows you to develop TARGETED lists of email
> addresses.  Doctors, florists, MLM, biz opp,...you can collect
> anything...you are only limited by your imagination!  You can
> even collect email addresses for specific states, cities, and
> even countries!  All you need is your web browser and this program.
> Our software utilizes the latest in search technology called
> "spidering". By simply feeding the spider program a starting
> website it will collect for hours. The spider will go from website
> to targeted website providing you with thousands upon thousands of
> fresh TARGETED email addresses. When you are done collecting,  the
> spider removes duplicates and saves the email list in a ready to
> send format. No longer is it necessary to send millions of ads to
> get a handful of responses...SEND LESS...EARN MORE!!!
> 
> A terrific aspect of the Bull's Eye software is that there is
> no difficult set up involved and no special technical mumbo-jumbo
> to learn. All you need to know is how to search for your targeted
> market in one of the many search engines and let the spider do the
> rest! Not familiar with the search engines? No problem, we provide
> you with a list of all the top search engines. Just surf to the
> location of a search engine on your browser then search for the
> market you wish to reach...it's that easy!
> 
> For instance if you were looking for email addresses of Doctors
> in New York all you would do is:
> 
> 1) Do a search using your favorite search engine by typing in
> the words doctor(s) and New York
> 2) Copy the URL (one or more)...that's the stuff after the
> http://...  for instance it might look like
> http://www.yahoo.com/?doctor(s)/?New+York
> 3) Press the START button
> 
> THAT's IT!!!  The Bull's Eye spider will go to all the websites
> that are linked, automatically extracting the email addresses
> you want.
> 
> The spider is passive too! That means you can let it run all
> day or all night while you are working on important things or
> just having fun on your computer. There is no need to keep a
> constant watch on it, just feed it your target market and give
> it praise when it delivers thousands of email addresses at
> the end of the day!
> 
> Features of the Bull's Eye Software:
> 
> * Does TARGETED searches of websites collecting the email
>   addresses you want!
> * Collects Email addresses by City, State, even specific
>   Countries
> * Runs Automatically...simply enter the Starting information,
>   press The Start Button, and it does the rest
> * Filters out duplicates
> * Keeps track of URLs already visited
> * Can run 24 hours per day, 7 days per week
> * Fast and Easy List Management
> * Also has built in filtering options...you can put in words
>   that it "Must" have while searching,...you can even put in
>   criteria that it  "Must NOT Have"...giving you added flexibility
> * Also imports email addresses from any kind of files (text
>   files, binary files, database files)
> * List editor handles Multiple files to work on many lists
>   simultaneously
> * Has a Black-Book feature... avoid sending emails to people
>   who do not want to receive it
> * Built-in Mail program...send email directly on the internet
>   with just a click of your mouse
> * Personalized Emails...if the email address has the user's
>   name when it is collected,..you can send Personalized emails!!!
> * Sort by Location, Server, User Name, Contact Name
> * Advanced Operations:
> · Email address lists export in many different formats
>   (HTML, Comma delimited, text file)
> · Advanced editing...Transfer, Copy,  Addition, Delete, Crop,
>   Move to Top/Bottom
> · Operations between lists...Union, Subtraction, Comparison
> * Program is Passive,...meaning you can run other programs at
>   the same time
> 
> CALL FOR MORE INFORMATION   213-980-7850
> CALL FOR MORE INFORMATION   213-980-7850
> 
> ORDERING INFORMATION
> 
> Customer Name
> Company Name
> Address
> City
> State   Zip
> Phone   Fax
> Email Address
> 
> __ BULL'S EYE SOFTWARE   $259.00
> Includes Software, Instructions, Technical Support
> 
> __ Shipping & Handling  (2-3 Day Fedex)  $10.00
>(Fedex Overnite) $20.00
> 
> __  TOTAL
>  (CA Residents add applicable sales tax)
> 
> *All orders are for Win 95 and Win NT
> 
> *CREDIT CARDS ACCEPTED*
>MASTERCARD   VISA   AMEX
> 
>PLEASE CALL 213-980-7850 to process your order
> 9am-5pm Pacific Time
> Checks or Money Orders send to:
>   WorldTouch Network In

Re: Swing under Linux

1998-05-20 Thread Kenny Freeman

Swing is simply a jar file that you can include in your classpath (more
or less). Download it and follow the instructions for the Sun OS and it
works just fine-at least it works for me. In fact, I have started coding
a mixer for Linux using the swing classes, and it looks fine to me.

regards,
KF

Aaron Walker wrote:
> 
> Does anyone know if the JFC (Swing) is available under Linux?
> 
> Thanks,
> Aaron




Re: jdk 1.1.6 v2

1998-08-11 Thread Kenny Freeman

how about showing us the o/p of ldconfig -v?

On Tue, 11 Aug 1998 [EMAIL PROTECTED] wrote:

> Hi to all!
> 
> I have a problem to install the jdk 1.1.6 because i don´t know if i have
> to download for libc5 or glibc, i read that glibc is for distributions
> like redhat or debian, i'm using slackware, and i've download for libc5
> but i'm not sure if this is correct, anyway when i type 'java' or
> 'javac' it shwo me following message:
> 
> ./../bin/i586/green_treads/java: can't load library 'libXpm.so.4'
> 
> Can anyone help me?
> 
> Thank you very much.
> 
> Mario Rugeles.
> 



Re: Socket connect timeout?

1998-08-12 Thread Kenny Freeman

c. wait, c++. Java has its limits. I don't know any way of limiting the
ammount of time spent waiting for a socket to connect (server sockets yes,
but any old socket, hm). I would be interested in hearing how to do this
too, as I have been trying to find a way for a while now.

On Wed, 12 Aug 1998, Per Widerlund wrote:

> Hello all..
> 
> Consider the following scenario:
> You want to connect to a remote server that may
> or may not be up and running (or even reachable).
> You want to be able to specify the exact amount
> of time before the connection attempt times out.
> You are not allowed to use any of the soon-to-be-
> deprecated (JDK1.2) methods in the Thread class.
> 
> Solution?
> 
> /Per Widerlund
> 



RE: install JDK without AWT ? [ no x11 ]

1998-08-13 Thread Kenny Freeman

This is why I don't like rpm's.

On Thu, 13 Aug 1998 [EMAIL PROTECTED] wrote:

> | hi,
> 
> | I am trying to get JDK, i.e. servlets up and running on my linux machine.
> | From what I understand, this requires X11, as the AWT package that 
> comes with the
> |JDK obviously requires this library.
> 
> Do you mean that the RedHat rpm mechanism is tellig you abou this requirement.
> Of course if write an applet that uses any stuff from the AWT the you 
> immediately
> require X11.
> I would say that installing JDK on a Linux system that has no X11 
> installed would not cause any trouble if you write graphics Java 
> *applications* (not applets!!)
> 
> Cheers,
> Addy.
> 
> |
> | Is there a way to install the JDK without the requirement of having 
> the X11 libs, i.e. to
> | install it without AWT support?
> |
> | Your help is highly appreciated,
> |
> | Patrick
> 
> 



Re: classpath ?

1998-08-18 Thread Kenny Freeman

I always just set the classpath to something like:
EXPORT
CLASSPATH=/usr/local/other/jdk1.1.5/lib/classes.zip:
/user/kenny/java:/home/freeman/java:.

and then just run the classes from the locations in the CLASSPATH
variable. Of course if you are fooling with imports and other packages,
you seem to have to add the root of the import to the classpath as well.

Hope this helps (I was typing and thinking pretty quick)
KF

On Tue, 18 Aug 1998 [EMAIL PROTECTED] wrote:

> Hi Steve
> 
> 
> sorry for this question, but I'm new on Linux !!
> 
> Just installed : JDK 1.1 6  Version 1
> Env : libc5
> Vers : 5.4.4
> Env Var : PATH set to /usr/local/java/jdk/bin:$PATH
> Env Var : CLASSPATH set to /usr/local/java/jdk/lib/classes.zip
> 
> Invocation from /usr/local/java/samples/MyFirstJava.java :
> 1 - javac MyFirstJava
> 2 - javac -classpath $CLASSPATH MyfirstJava
> 
> Message : Unable to initialize threads: cannot find java/lang/Thread
> 
> Where is the Pb ???
> 
> 
> Thank you for any suggestion.
> Frank
> 



Re: Javac but no Java

1998-08-25 Thread Kenny Freeman

How about the CLASSPATH env var? echo $CLASSPATH should show something
like: /usr/local/jdk/lib/classes.zip:/java:.
most common problem with the class not found thing is improper classpath.

On Tue, 25 Aug 1998 [EMAIL PROTECTED] wrote:

> Running Slackware 3.4 with JDK 1.1.5 I can run javac but when I run java
> Test in directory /java I get the error Test.class not find.
> My profile has "." set and I also export my PATH="$PATH:/java" but it still
> can't find it.
> 
> Any ideas will be helpful.
> 
> Steve Gee
> Maxor NPS
> Development
> 
> "Do or Do Not, there is no Try"
> 
> 



Re: Javac but no Java

1998-08-25 Thread Kenny Freeman



On Tue, 25 Aug 1998, [EMAIL PROTECTED] wrote:

NO, KENNY FREEMAN did NOT type:
> On Tue, 25 Aug 1998, Kenny Freeman wrote:
> Your problem is probarbl the same that I had:
> I always typed 
>java Test.class
> which ended up in the same error message that you discribed.
> Try java Test
> without .class and you will have successcribed
> 
Kenny Freeman did type:
> > How about the CLASSPATH env var? echo $CLASSPATH should show something
> > like: /usr/local/jdk/lib/classes.zip:/java:.
> > most common problem with the class not found thing is improper classpath.
> > 
> > On Tue, 25 Aug 1998 [EMAIL PROTECTED] wrote:
> > 
> > > Running Slackware 3.4 with JDK 1.1.5 I can run javac but when I run java
> > > Test in directory /java I get the error Test.class not find.
> > > My profile has "." set and I also export my PATH="$PATH:/java" but it still
> > > can't find it.
> > > 
> > > Any ideas will be helpful.
> > > 
> > > Steve Gee
> > > Maxor NPS
> > > Development
> > > 
> > > "Do or Do Not, there is no Try"
> > > 
> > > 
> > 
> > 
> 



Re: java-linux

1998-08-25 Thread Kenny Freeman

www.blackdown.org

follow the java link from there

On Tue, 25 Aug 1998, Aaron Brick wrote:

> i tried to subscribe to the mailing list; it failed when it decided that
> java-linux.org doesn't exist. how can i get on it, please?
> 
> thanks.
> 
> aaron brick.
> 
> 



re: packages

1998-08-26 Thread Kenny Freeman

 
> I personally am rather against most import statements as they can
> only help to confuse the issue of what you are looking at.  Even worse
> is import of a whole package - since then you do not even see in the
> code all of the possible class names that just got defined...  However,
> if used very rarely and only when really justified, they can help
> reduce the typing needed and not reduce the maintainability of the code.
> 
> Sorry about that, but I have had to fix code where the top of the
> file had import .*; import .*; etc.  Basically importing every
> package in the whole product - almost 30 lines of these - and then
> trying to figure out what the DataTrack class is and which one it used -
> since there was a different one in three different packages...
> 
> BTW - This was only one person who did this in his souce - and his
> code was usually the code we had to fix.  But he was a contractor and
> did not follow our coding standards.

Well, that is still no real argument against packages. However the
.whatever packages were generated, there should have been a way to
make things a bit less cryptic. I couldn't imagine not being able to use
the import statement. Things like:
 tmp = new ken.encryption.RSA.RSAMessageDigest()
 tmp2 = new ken.util.file.FileReader("blah.txt")
get on my nerves pretty quick. People who make bad names for packages like
 should keep there code to themselves. Well, thats my $ 0.02

> 
> 
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] - http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz
> 
> 



re: packages

1998-08-26 Thread Kenny Freeman

> On Wed, 26 Aug 1998 11:33:42 -0300 (ADT), Kenny Freeman wrote:
> 
> > 
> >> I personally am rather against most import statements as they can
> >> only help to confuse the issue of what you are looking at.  Even worse
> >> is import of a whole package - since then you do not even see in the
> >> code all of the possible class names that just got defined...  However,
> >> if used very rarely and only when really justified, they can help
> >> reduce the typing needed and not reduce the maintainability of the code.
> >> 
> >> Sorry about that, but I have had to fix code where the top of the
> >> file had import .*; import .*; etc.  Basically importing every
> >> package in the whole product - almost 30 lines of these - and then
> >> trying to figure out what the DataTrack class is and which one it used -
> >> since there was a different one in three different packages...
> >> 
> >> BTW - This was only one person who did this in his souce - and his
> >> code was usually the code we had to fix.  But he was a contractor and
> >> did not follow our coding standards.
> >
> >Well, that is still no real argument against packages. However the
> >.whatever packages were generated, there should have been a way to
> >make things a bit less cryptic. I couldn't imagine not being able to use
> >the import statement. Things like:
> > tmp = new ken.encryption.RSA.RSAMessageDigest()
> > tmp2 = new ken.util.file.FileReader("blah.txt")
> >get on my nerves pretty quick. People who make bad names for packages like
> > should keep there code to themselves. Well, thats my $ 0.02
> 
> No, it names were not x.  I just am not in a position to explain the
> names.  The names were nice, but the imports where all of the type:
> 
>   import ORG.junk.foo.bar.*;  
>   import ORG.junk.blah.foo.*; 
>   import ORG.junk.blah.bar.*;
> 
>   etc. for about 30 lines...
> 
> So, the code was importing classes that it never needed or used,
> it was importing conflicting classes, and it was very hard to maintain.
> (All of his source files started with the same set of lines but none
> of them used all of the classes...)
> 
> I would have liked it if the import statement could *not* have "*"
> and thus you would have to:
> 
>   import ORG.junk.foo.bar.TimeTrack;
>   etc.
> 
> This way you would always have a true listing of what you have imported
> and from where.  (The "*" just is a problem.)
> 
> Personally, I never use that.  I have an editor that makes life easier
> and I can type rather quickly, so I have fully qualified names on all
> classes that are outside of the package that the source is in.  It also
> means that when I read the code I can see instantly what package the class
> came from.)
> 
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] - http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz
> 
> 
I see your point now. I agree with you when you say doing this is a bad
thing:
import foo.bar.*;
import foo2.bar2.*;
This does cause problems and is not nec. a good thing to do - but I was
generally thinking allong the lines of importing one or two utility
classes to save me the trouble of typing out the really long names.
Importing * is a bit lazy, and in larger classes really does make it
difficult to keep things organized. Like you said, if you don't import *,
but list every class like:
import ken.encryption.RSA.RSAMessageDigest;
import ken.util.FileReader;
it makes it more obvious what classes are used compared to the *, where
you really have to go through the code and find out.



Re: "can't find class file java/lang/Thread"

1998-08-26 Thread Kenny Freeman

uh, I may be way off on this, but try simply:

java HelloWorld

You do not include the .class ext. Then, you still have to set the
classpath as per the last bunch of posts about it

__
Kenny Freeman <[EMAIL PROTECTED]>

"Time is the fire in which we burn." - ST Generations

---

On Wed, 26 Aug 1998, Aaron Brick wrote:

> my JDK installation seems to be weird. i saw a previous post relevant to
> this problem in the archive but the responses i saw weren't helpful.
> 
> when i do "java HelloWorld.class" it complains about not being able to
> find the class file - even if i pass the full path - until i do a
> "-classpath `pwd`", or its equivalent. is this normal behavior?
> 
> then - this is the step i have not been able to solve - it complains about
> not being able to find a class file called "java/lang/Thread". well, i
> have tried a large number of things with the Thread.class file, including
> renaming it and putting its path in classpath, putting it in ad-hoc
> subdirs in the java/classes dir (where i'm trying all this), etc. i just
> can't get it to find the file.
> 
> i mailed one member of this list and he told me to download some different
> classes.zip file - however, it didn't appear to be on the russian server
> he gave me. why the discrepancy, and what is the deal with this problem,
> anyone?
> 
> i have:
> 
> JDK 1.1.6v2, glibc, i386 on Debian 2.0 (2.0.34), libc6. i don't have my
> machine handy so i'm sorry i don't have the loader or X versions but i can
> certainly supply them later.
> 
> i would say this problem is of fairly high severity because it prevents me
> from running any program at all! it may be that it is an isolated incident
> but i sure thought the install went fine and my system is not weirdly
> hacked or anything.
> 
> thanks for your responses.
> 
> aaron brick.
> 
> 
> 



Re: problems with finalize()

1998-08-27 Thread Kenny Freeman

HrmmmI seem to recall posting something about Netbeans and the
finalizer thread threadlock problem a while ago. If you are having
problems with the finalizer, it is most likely a bug in sun's code.

this might (well, it won't) solve your problem:
$cat "Please fix the finalizer bug in the jdk." > blah
$./mailsun
where mailsun is:
#!/bin/bash
while [true]
mail $[EMAIL PROTECTED] blah
 
or similair (my bash prog'n skills are not so good)
Leave for about three weeks, or untill someone comes knocking. Ok, I am
just kidding :)

On Thu, 27 Aug 1998 [EMAIL PROTECTED] wrote:

> Hello,
> 
> I have a problem with jdk1.1.6v3a/glibc2. The problem is with
> the finalize() methods which does not get invoked in my code.
> Jdk1.1.5v7/glibc2 works fine (ie. the finalize() method is called).
> Anyone got any idea why?
> (I tried to create a small example which shows the problem
> but finalize() get's called for the small example:(
> 
> Marcel Ammerlaan
> -- 
> "Yields falsehood when preceded by its quotation"
> yields falsehood when preceded by its quotation
> 



Re: What's up with this?

1998-08-28 Thread Kenny Freeman

well, it would work if you extended a component that already implemented
paint - you can't just call paint without making your class an extension
of one that has the paint method of the graphics object.
Depending on what you are doing, try something like:
Class a extends canvas {
blah; blah;
}//end of class a
that should "compile"

does that make sense? I could have been clearer I suppose.

On Fri, 28 Aug 1998, Steve Cohen wrote:

> I realize this may not be the appropriate place for this question but why can't
> I do this?
> 
> //file a:
> 
> import java.awt.*;
> public class a {
> void paint (Graphics g) {
> ...
> }
> 
> }
> 
> //file b:
> import java.awt.*;
> import a;
> 
> public class b {
> public a A;
> ...
> void paint (Graphics g) {
> A.paint(g);
> }
> }
> 
> The compilation of file b fails with an error message about an unknown method
> paint( java.awt.Graphics )
> 
> WHY?  This code compiles fine if it is all in one file
> 



Re: No DB connection in Netscape ? Please help.

1998-08-14 Thread Kenny Freeman

I could be on thin ice, but applets can only make connections to the site
that they were loaded from. I noticed a security... something or other in
the java console o/p (just a quick look). Maybe that explains why you can
connect on one machine, and not the other

On Fri, 14 Aug 1998, Kapoor, Nishikant X wrote:

> Hello friends
> 
> I have apache-1.1.3-3 and PostgreSQL-6.3.2 running on my Linux RH4.2,
> kernel 2.0.30 (genx). I have a Java Applet that tries to connect to
> PostgreSQL
> using JDBC, from NS-4.5b1 on an IBM RISC6000, AIX-4.1.4 (mm01).
> 
> Typing "mm01: netscape http://genx/PrfApplet.htm" brings up the applet
> in the NS
> but the database connection is not established. The Java console shows:
> 
> openDb(PrfDb):Connecting to Database URL = jdbc:postgresql:prfdb...
> openDb(PrfDb): Could not connect. e= security.Couldn't connect to
> 'localhost' with origin from 'genx'.
> 
> The same problems exits when I start NS from the same machine where the
> PostgreSQL
> server is running i.e. the Linux box(genx).
> 
> *** But, when I use "genx: netscape http://127.0.0.1/PrfApplet.htm" on
> genx, the
> *** database connection gets established.
> 
> The two machines genx and mm01 are on the same network and can ping each
> other
> using the hostnames.
> 
> THE CLASSPATH IS *NOT* SET ON RISC MACHINE (mm01) and the postgresql.jar
> is already
> in mm01:$MOZILLA_HOME/java/classes. The JDBC interface is as follows:
> 
> // Load the driver
> try {
>   Class.forName(PrfConstants.DB_DRVR);
> } catch(Exception e) {
> System.out.println("openDb(PrfDb): Class.forName() failed. e= "
> + e.getMessage());
> return (false);
>   }
> 
> // Connect to database
> System.out.println("openDb(PrfDb):Connecting to Database. URL =
> jdbc:postgresql:prfdb...");
> try {
>   connect = DriverManager.getConnection("jdbc:postgresql:prfdb",
> "postgres", "");
> } catch (SQLException e) {
> System.out.println("openDb(PrfDb): Could not connect to
> database. e=" + e.getMessage() );
> connect = null;
> return (false);
>   } catch (Exception e) {
>   System.out.println("openDb(PrfDb): Could not connect. e= " +
> e.getMessage());
>   connect = null;
>   return (false);
> }
> 
> Can someone please help me. This has been much more complicated than
> what I'd anticipated.
> 
> I'm not sure if this is a problem at Java end or the PostgreSQL end. So,
> please
> excuse me if I've posted this problem to the wrong group. I'm just
> desperate for help !!!
> 
> Thanks much in advance.
> Nishi
> 
> To err is human but to really mess it up is computer
> mailto:[EMAIL PROTECTED]   http://www.c3ipros.com/nkapoor
> ---~~~--
> 



Re: JAVA PROJECT! CODER WANTED!!

1998-09-03 Thread Kenny Freeman

well, at least it is entertaining - linux kernel in java
LOL

On Thu, 3 Sep 1998, Mats Petersson wrote:

> On Thu, 3 Sep 1998, Nelson Minar wrote:
> 
> > >> What, are you kidding?
> > >HE'S COMPLETELY NUTS
> > 
> > Maybe a refugee from the Freedows project :-)
> > 
> > 
> > 
> 
> ;)
> 



Re: JAVA PROJECT! CODER WANTED!!

1998-09-03 Thread Kenny Freeman

Oh give me a break, did you read the original posting at all?
I think it warants a few (harmless) jokes. Sometimes people are far too
serious, lighten up. I mean come on, Linux kernel in java?

On Thu, 3 Sep 1998, [EMAIL PROTECTED] wrote:

> Maybe Linus was also completely nuts
> If yo do not want to participate, why don4t you just skip these
> postings???
> 
> On Thu, 3 Sep 1998, Nelson Minar wrote:
> 
> 
> > >> What, are you kidding?
> > >HE'S COMPLETELY NUTS
> > 
> > Maybe a refugee from the Freedows project :-)
> > 
> > 
> 
> ===
>  _ _  _   __ __   __ __
> / /   (_)/ \ / // /  / /\ \  / /| Jochen Reitzig
>/ /   / // / \   / // /  / /  \ \/ / | 
>   / /   / // /\  \ / // /  / /\  /|   Fax: 08151-97
>  / /___/ // /  \  \ // /__/ // /\ \   |   Tel. 08151-29199
> /_/_//_/\__//__//_/  \_\| D2: 0172-8783857
>   |   email: [EMAIL PROTECTED]
> In a world without fences, who needs Gates? | www.eikon.tum.de/~elvis
> 



Re: The Can Even Steal Your Identity!

1998-09-04 Thread Kenny Freeman

FUCK OFF.

__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." -someones .sig on comp.hw.overclking


On Fri, 4 Sep 1998 [EMAIL PROTECTED] wrote:

> ARE YOU BEING INVESTIGATED?
> 
> Has your personal and credit information been stolen?  Has someone
> assumed your identity?
> 
> Would you like to locate an old friend, relative, military buddy or sweetheart?
> 
> Do you want to find a person's assets to collect a debt or judgement?
> 
> Would you like to check a person's criminal record before renting
> them space or giving them employment?
> 
> Would you like to fix up your credit bureau report, create a new
> identity or even disappear?
> 
> Are you going to have surgery?  Would you like to know how many malpractice 
> suits have been filed against your doctor?
> 
> Now you can learn all this plus much, much more with our 
> brand new 45  page report 
> 
> "INTERNET SLEUTH"!
> 
> Learn the Internet tools and resources that are used to investigate you,
> your relatives, friends, neighbors, enemies, employees or anyone else!  
> 
> We will give you thousands of Internet locations to look up people,
> credit, social security, current or past employment, driving records, 
> criminal records, medical information, military records, addresses,
> phone numbers, immigration, divorce, labor and criminal laws!
> 
> We will also give you sources to find missing children and parents,
> hazardous waste sites, how to do Freedom of Information Act information
> searches, how to do skip tracing and backround checks on prospective dates, 
> brides or grooms, employees, renters, vendors, new clients and competitors!
> 
> You will also learn about and where to get surveillance and spy devices,
> private mail forwarding and annonymous email forwarding sites, search 
> for copyrights, patents and court cases and how to make your
> assets untraceable!  We will show you how to get copies of 
> credit reports, adoption databases, information on drugs, 
> poisons and how to get your share of government programs and benefits!
> 
> Can you find this information by using the Internet Search Engines?
> The answer is MAYBE if you get lucky and if you want to spend many
> hours going through 25,000 plus hits per subject!  We and our staff
> have spent hundreds of hours and many thousands of dollars compiling 
> this information for you!  Now you can have it on a silver platter
> for LESS THAN TWENTY BUCKS during this special email promotion!
> 
> You frequently hear over the media, television, radio, the newspapers, 
> how personal information is being used, traded and 
> sold over the Internet...usually without your permission or knowledge. 
> Our report will show you HOW IT IS DONE!!!
> 
> Would you like to find that old romantic flame...find telephone, 
> address or email information on almost anyone...even unlisted
> phone numbers?  How about your family "tree"?  We will teach
> you how to turn years of work into hours of fun!
> 
> Military?  Check Army, Navy, Air Force and Marine records. 
> extensive Vietnamese war records, MIA info, much more!
> 
> Looking for a job?  Find the job you are seeking...even in another state
> or another country!  We will teach you how!
> 
> Looking for a new love interest or spouse or even sex partner? 
> We will show you where to look for fast results!
> 
> Want up-to-the-minute health and medical information?  Learn how to 
> cure fears and phoebias, the latest drugs and treatments for almost
> any ailment or desease from the drug companies themselves as well as
> from universities and the Center for Desease Control.  Want to learn
> the most effective way to loose weight?  It's all here in our report!
> 
> If you believe that the information compiled  about you should be as
> available to you as to the people that compile it about you without
> your knowledge or permission than you must order "THE INTERNET
> SLEUTH REPORT" immediately!
> 
> Our "INTERNET SLEUTH REPORT" is normally sold by direct mail for
> $39.95 and will soon be in book stores for $29.95.  However, to
> generate publicity and "get the word out" we are making this 
> 10 day Email Special Offer of our Complete 45 Page Report for
> only  $19.95 plus $3 for shipping and handling [total $22.95].
> Sold with our 10 Day Money Back Guarantee!
> 
> This is the biggest bargain on the Internet and the information it
> will give to you will give you great power!  It can really change your
> life in a positive way.  Order Now!
> 
> The Complete 45 page "INTERNET SLEUTH REPORT" only $19.95 plus
&

Re: Well done

1998-09-16 Thread Kenny Freeman

Hey, pictou county (NS Canada) was the pizza capital of the world - most
pizza places per person. Well, quantity, not nec quality eh?
BTW, keep up the good work. :)

__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Wed, 16 Sep 1998, Uncle George wrote:

> Canadian pizza, i dont think so .  :-))) ( at least not for me. as i
> dont think anyone can match the garlic pizza from manville, n.j ( yes the former
> asbestos capital ))
> gat
> 
> James Seigel wrote:
> 
> > You guys rockcan we send pizza to you anywherE?
> >
> 
> 
> 



Re: Dynamic modification of CLASSPATH

1998-10-03 Thread Kenny Freeman

could you not get an instance of runtime and execute
'export CLASSPATH=/some/new/classpath' or set env, depending
what shell your using. Then again, that is not very platfom independant
now is it?Well, it would work.

__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Fri, 2 Oct 1998 [EMAIL PROTECTED] wrote:

>  You can also get the classpath from SystemProperty( "java.classpath" )
>  or something like that.
>  
>  Then use you write a PathnameResolve sth that search for the classes
>  by looking at each of the separated directory. You could use
>  the StringTokenizer(":") to get each directory. Loop through all 
>  directories and try to see if there is File called xxx.class or 
>  whatever.
>  
>  Or maybe there's a method in ClassLoader which accepts a new 
>  (augmented) classpath.
> 
> Pete
> 
> __ Reply Separator _
> Subject: Re: Dynamic modification of CLASSPATH
> Author:  gaolei ([EMAIL PROTECTED]) at lon-mime
> Date:02/10/98 08:59
> 
> 
> You could write your own class loader.
>  
> Domingo Pinya wrote:
>  
> > Hi:
> >
> >There is any way to change the value of CLASSPATH dynamicaly, that is, 
> > how I can include a new directory into CLASSPATH after my program is
> > runnning, to instantiate a class that is inside it? 
> >
> > Thanks.
> >
>  
>  
> 



Re: Java crypt

1998-11-02 Thread Kenny Freeman

Do a search for cryptix java. It is an encryption library written entirely
in java (native methods for windows and a few others). As far as I know it
can be downloaded from sites in the UK. It includes blowfish, des, des3,
idea and morecan't remember their main url though - I think
development has stopped :( but the mailing list continues to spew
messages.

__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Mon, 2 Nov 1998 [EMAIL PROTECTED] wrote:

> Hi,
>what is the situation of cryptography apis for java
> for european reseident?
> At java.sun.com is forbidden the download for non-US resident
> and I didn't see any class for java in the usual european sites
> for cryptography.
> 
> Thanks
> Fulco Muriglio
> 



Re: Basic installation. Please Help.

1998-11-15 Thread Kenny Freeman

Hi, you have to add the path to the jar files like (for example):

export
CLASSPATH=$CLASSPATH:/usr/local/swing/swing.jar:/home/freeman/jars/net.jar:etc

that should work a little better for you (once you've added the path to
each jar you want to use).
__
Kenny Freeman <[EMAIL PROTECTED]>

"a population that gives up its freedoms in the name of order will
 ultimately end up losing both." 

On Sun, 15 Nov 1998, Pierre LATECOERE wrote:

> Hello,
> 
> I am new to the Linux world. I have developped a large Java app on Win32
> using Borland JBuilder and want to port it to Linux.
> I have downloaded the jdk116 from java.blackdown.org. I use several
> *.jar packages for my app (i.e. Swing).
> 
> javac doesn't load my jar files. I must have done something wrong in
> setting my CLASSPATH environment.
> 
> Here is what I have in my .bashrc file:
> 
> # .bashrc
> # User specific aliases and functions
> # Source global definitions
> if [ -f /etc/bashrc ]; then
>  . /etc/bashrc
> fi
> 
> export PATH=/home/Pierre/jdk116_v5/bin:$PATH
> export CLASSPATH=/home/Pierre/jdk116_v5/lib:$CLASSPATH
> 
> Thank you for your help.
> 
> Pierre
> 



Hanging appletviewer on 486

1998-08-04 Thread Tim Freeman


I have two Linux computers.  On one, a 486 Tandy 3950 laptop,
"appletviewer" with no arguments hangs before giving me the copyright
notice box.  On the other, a Gateway 2000 60 mhz Pentium, appletviewer
seems to work fine.  I have tried to minimize the differences between
the systems.

Any ideas?

Shared properties:
Same fonts.  xlsfonts returns the same list on both machine.
Same ld.so version; ldd -V returns 1.7.14
Same checksums for all the shared libraries, as determined by
   using sum on the libraries revealed by inserting calls to ldd in
   bin/java.
Same jdk version, 1.1.6v2.
More than 20MB swap, which doesn't get filled during the experiment
appletviewer uses libc.so.5 from lib/i586/green_threads
The command "java" starts on both systems well enough to complain that
   I didn't pass any command line arguments.

Unique properties of the laptop where it doesn't work:
XFree86 3.3.2
Linux 2.0.30 or 2.0.34
Slackware 3.1 from a CD (except I had to get a kernel from Slackware
   3.4 or 3.5 to boot it, and a XFree86 from Slackware 3.5 to run X.)
ldconfig -D prints:
ldconfig: version 1.8.2
/usr/local/lib:
/usr/X11R6/lib:
libXtst.so.6 => libXtst.so.6.1
libXt.so.6 => libXt.so.6.0
libXmu.so.6 => libXmu.so.6.0
libXi.so.6 => libXi.so.6.0
libXext.so.6 => libXext.so.6.1
libXaw.so.6 => libXaw.so.6.1
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.1
libSM.so.6 => libSM.so.6.0
libPEX5.so.6 => libPEX5.so.6.0
libICE.so.6 => libICE.so.6.0
libXpm.so.4 => libXpm.so.4.3
/usr/i486-linuxaout/lib:
/usr/openwin/lib:
/usr/lib:
libbfd.so.2.6.0.14 => libbfd.so.2.6.0.14
libopcodes.so.2.6.0.14 => libopcodes.so.2.6.0.14
libgdbm.so.2 => libgdbm.so.2.0.0
libdb.so.2 => libdb.so.2.0.0
libg++.so.27 => libg++.so.27.1.4
libstdc++.so.27 => libstdc++.so.27.1.4
libvgagl.so.1 => libvgagl.so.1.2.10
libvga.so.1 => libvga.so.1.2.10
/lib:
libdl.so.1 => libdl.so.1.8.2
libncurses.so.3.0 => libncurses.so.3.0
libtermcap.so.2 => libtermcap.so.2.0.8
libm.so.5 => libm.so.5.0.6
libgdbm.so.1 => libgdbm.so.1.7.3
libcurses.so.1 => libcurses.so.1.0.0
libc.so.5 => libc.so.5.3.12
libe2p.so.2 => libe2p.so.2.1
libss.so.2 => libss.so.2.0
libext2fs.so.2 => libext2fs.so.2.0
libcom_err.so.2 => libcom_err.so.2.0

Unique properties of the Gateway 2000, where it does work:
XFree86 3.2 (although if I copy the X server from the laptop and run
   in VGA mode, appletviewer still starts)
Linux 2.0.27 (I can't start X with 2.0.30 or 2.0.34; I would need to recompile
   to turn off extraneous mouse drivers.)
An old a.out slackware installation, manually upgraded to use elf.
ldconfig -D prints:
ldconfig: version 1.7.14
/usr/local/lib:
/usr/X11R6/lib:
libXtst.so.6 => libXtst.so.6.1
libXmu.so.6 => libXmu.so.6.0
libXi.so.6 => libXi.so.6.0
libPEX5.so.6 => libPEX5.so.6.0
libSM.so.6 => libSM.so.6.0
libXext.so.6 => libXext.so.6.1
libICE.so.6 => libICE.so.6.0
libXt.so.6 => libXt.so.6.0.elf
libXaw.so.6 => libXaw.so.6.1
libXIE.so.6 => libXIE.so.6.0
libX11.so.6 => libX11.so.6.1
libXt.so.3 => libXt.so.3.1.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
libXpm.so.4 => libXpm.so.4.3.a.out
/usr/i486-linuxaout/lib:
/usr/openwin/lib:
/usr/lib:
libform.so.3.0 => libform.so.3.0
libpanel.so.3.0 => libpanel.so.3.0
libmenu.so.3.0 => libmenu.so.3.0
libdb.so.1 => libdb.so.1.85.4
libbfd.so.2.6.0.14 => libbfd.so.2.6.0.14
libopcodes.so.2.6.0.14 => libopcodes.so.2.6.0.14
libvga.so.1 => libvga.so.1.2.10
libgdbm.so.2 => libgdbm.so.2.0.0p
libdb.so.2 => libdb.so.2.0.0p
libgr.so.1 => libgr.so.1.3
libtermnet.so.2 => libtermnet.so.2.2.4
/lib:
libncurses.so.3.0 => libncurses.so.3.0
libgdbm.so.1 => libgdbm.so.1.7.3
libdl.so.1 => libdl.so.1.7.14
libtermcap.so.2 => libtermcap.so.2.0.8
libm.so.5 => libm.so.5.0.6
libcurses.so.1 => libcurses.so.1.0.0p
libXt.so.3 => libXt.so.3.1.0
libXaw.so.3 => libXaw.so.3.1.0
libX11.so.3 => libX11.so.3.1.0
libc.so.5 => libc.so.5.3.12
libvga.so.1 => libvga.so.1.1.8.a.out
libm.so.4 => libm.so.4.6.27
libc.so.4 => libc.so.4.6.27

-- 
Tim Freeman   
[EMAIL PROTECTED]http://www.infoscreen.com/resume.html
Web-centered Java, Perl, and C++ programming in Silicon Valley or offsite



Java wants a network? (was Re: Hanging appletviewer on 486)

1998-08-06 Thread Tim Freeman

>I have two Linux computers.  On one, a 486 Tandy 3950 laptop,
>"appletviewer" with no arguments hangs before giving me the copyright
>notice box.  On the other, a Gateway 2000 60 mhz Pentium, appletviewer
>seems to work fine.  I have tried to minimize the differences between
>the systems.
>
>Any ideas?

[EMAIL PROTECTED] made the excellent suggestion that I use strace
to see what is going on with the 486.  The last few calls in the
strace were a bunch of reads and writes to fd 4 (probably the X
server), a call to uname (which still returns default information,
since my 486 was never given a name), and mmap.

This points out another difference between the 486 where Java fails
and the Gateway where it wins: the Gateway has networking configured
and the 486 doesn't.  Does Java need a network and a real machine name
and /etc/hosts file to function?
-- 
Tim Freeman   
[EMAIL PROTECTED]http://www.infoscreen.com/resume.html
Web-centered Java, Perl, and C++ programming in Silicon Valley or offsite