Re: Questions about jdk117_v1a for Linux

1998-12-10 Thread Javier G.C.


This is a cut&paste from README.linux for JDK 1.1.6, Version 5
(09/29/98) :

Missing libXp
--

The JDK now depends on having the X printing library, libXp installed with
the rest of your X files.  This is part of the most recent X11
distributions,so you'll need to upgrade (or, if you are daring, you can
just extract the libXp.so* file from the upgrade package for your Linux
distribution and  install it by hand w/o upgrading everything else,
although this is unlikely to work if your X libraries are substantially
out oof date)



Hope it helps.

===
Javier Gil CandelasDpto. Ingenieria de Sistemas Telematicos
email: [EMAIL PROTECTED] E.T.S.I. Telecomunicacion - UPM
http://www.dit.upm.es/~jgil Ciudad  Universitaria
Tfno:(+34) 913367366 ext:809E-28040 Madrid, SPAIN
===

On Thu, 10 Dec 1998, Wilson Woo wrote:

> I have a problem regarding running java apps under Linux (Red Hat 4.2,
> Linux kernel 2.1.131, Xfree86 3.3.2).  When I try to run java apps, I get
> the following:
> 
> /usr/local/jdk117_v1a/bin/i586/green_threads/java: can't load library
> 'libXp.so.6'
> 
> I was wondering if you have seen that error before.  If so, can you please
> inform me as to what I should do?  Thanks!
> 
> 
> Wilson Y.H. Woo
> Faculty of Mathematics
> Honours Computer Science Co-op
> University of Waterloo
> Waterloo, Ontario
> 



Re: What's in it for me?

1998-12-11 Thread Javier G.C.



So why dont you post it in make-fast-money-thanks-to-stupid-people
group?? 

===
Javier Gil CandelasDpto. Ingenieria de Sistemas Telematicos
email: [EMAIL PROTECTED]E.T.S.I. Telecomunicacion
http://isengard.dit.upm.es  Ciudad  Universitaria
Tfno:(+34) 913367366 ext:809E-28040 Madrid, SPAIN
===

On Thu, 10 Dec 1998 [EMAIL PROTECTED] wrote:

> Hi,
> 
> The following is a copy of the letter that caused me
> to get involved in the most lucrative and easy to 
> operate home-based business I could ever imagine.  
> I never thought I'd be the one to talk about 
> something like this, but this is simply the best mail 
> order business I've ever seen.  With just a little bit 
> of effort, you too can make money in the mail order 
> business.  If you're asking yourself "What's in it for 
> me?" just keep reading.
> 
> 
> 
> Hello!
> 
> bla bla bla... 
> 



Re: Copy File in Java

1998-12-17 Thread Javier G.C.


Hope this little example helps you :)


import java.io.*;

class copy {  
  public static void main (String args[]) throws IOException {
if (args.length != 2)
   throw (new RuntimeException ("Syntax: copy  "));
FileInputStream in = new FileInputStream(args[0]);
FileOutputStream out = new FileOutputStream(args[1]);

byte buffer[] = new byte[16];
int n;
while ((n = in.read (buffer)) > -1)
   out.write(buffer, 0, n);
out.close();
in.close();
System.out.println("END");

  }
}

===
Javier Gil CandelasDpto. Ingenieria de Sistemas Telematicos
email: [EMAIL PROTECTED] E.T.S.I. Telecomunicacion - UPM
http://isengard.dit.upm.es  Ciudad  Universitaria
Tfno:(+34) 913367366 ext:809E-28040 Madrid, SPAIN
===

On Thu, 17 Dec 1998, Sze Yuen Wong wrote:

> Hi,
> 
>  Anybody know how to copy a file in Java?
> 
> Thanks.
> 
> Sze Yuen
> 
> 
> 
> _
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>