where can i download java40.jar?

2000-08-08 Thread ¸¶·ÐÀÎÇü

This package includes netscape.javascript, as i know,
which makes Applet possible to access JavaScript object.
does anyone who knows location of this package?
please tell me~! ^^ 



==
±×°ÍÀº ¼Ò¸®¾ø´Â ¾Æ¿ì¼º... 
³ªÀÇ ¿µÈ¥ Àú ±íÀº°÷¿¡¼­ºÎÅÍ 
¹Ð·Á¿À´Â °Å¿ªÇÒ¼ö ¾ø´Â 
±«·Î¿ò 

³ªÀÇ ¸öÀº °Å¿ªÇÒ¼ö ¾ø´Â ¶ß°Å¿ò¿¡ 
ºÒŸ¿Ã¶ó 
À縸 ³²±â¾î³õ°í 
³ªÀÇ ¿µÈ¥À» Å¿ö¹ö¸°´Ù... 

±×°ÍÀº ¼Ò¸®¾ø´Â ¾Æ¿ì¼º... 
³ÊÀÇÀ̸§Àº ±×¸®¿ò...  






==
¿ì¸® ÀÎÅͳÝ, Daum
Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
http://www.daum.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Storage and Retreival for Java Program

2000-08-08 Thread Robbie Baldock

Ben Pharr wrote:
 
> I would like to find a good way to store data for a Java program I'm
> writing.  It is a LARGE amount of data, so parsing a text file at startup
> isn't an option.  

Whatever method is used, if every client needs its own copy, start-up
time is likely to be affected.

> A database like MySQL isn't an option because of the
> problems of setting it up on each client.  (This program needs to be able
> to run without access to the Internet, so one central server is out of the
> question as well.)  

If there is no central database presumably you don't want people to be
able to make changes which become available to other users...

> Also, I'm developing in Linux, but deploying for all
> platforms, so I need it to be platform independent.  Any ideas?  Thanks!

What about using ObjectOutputStream to write out the data as a Java
object?  Though to be honest this is ultimately going to result in a
slow start-up.


Robbie


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Storage and Retreival for Java Program

2000-08-08 Thread Larry Sanderson

You could try a pure Java DB, with a File-System Driver (Cloudscape
comes to mind).  It does not require any DB to be started (i.e. no
network), and the JDBC drivers are type 4 (pure java).

-Larry



Ben Pharr wrote:
> 
> I would like to find a good way to store data for a Java program I'm
> writing.  It is a LARGE amount of data, so parsing a text file at startup
> isn't an option.  A database like MySQL isn't an option because of the
> problems of setting it up on each client.  (This program needs to be able
> to run without access to the Internet, so one central server is out of the
> question as well.)  Also, I'm developing in Linux, but deploying for all
> platforms, so I need it to be platform independent.  Any ideas?  Thanks!
> 
> Ben
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: where can i download java40.jar?

2000-08-08 Thread Nathan Meyers

"¸¶·ÐÀÎÇü" wrote:

> This package includes netscape.javascript, as i know,
> which makes Applet possible to access JavaScript object.
> does anyone who knows location of this package?
> please tell me~! ^^

Install Netscape... you'll find java.jar in its java/classes
subdirectory.

Nathan


>
>
> ==
> ±×°ÍÀº ¼Ò¸®¾ø´Â ¾Æ¿ì¼º...
> ³ªÀÇ ¿µÈ¥ Àú ±íÀº°÷¿¡¼­ºÎÅÍ
> ¹Ð·Á¿À´Â °Å¿ªÇÒ¼ö ¾ø´Â
> ±«·Î¿ò
>
> ³ªÀÇ ¸öÀº °Å¿ªÇÒ¼ö ¾ø´Â ¶ß°Å¿ò¿¡
> ºÒŸ¿Ã¶ó
> À縸 ³²±â¾î³õ°í
> ³ªÀÇ ¿µÈ¥À» Å¿ö¹ö¸°´Ù...
>
> ±×°ÍÀº ¼Ò¸®¾ø´Â ¾Æ¿ì¼º...
> ³ÊÀÇÀ̸§Àº ±×¸®¿ò...
>
> ==
> ¿ì¸® ÀÎÅͳÝ, Daum
> Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
> Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼­ºñ½º Daum FIREBALL
> http://www.daum.net
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Storage and Retreival for Java Program

2000-08-08 Thread Nathan Meyers

Ben Pharr wrote:

> I would like to find a good way to store data for a Java program I'm
> writing.  It is a LARGE amount of data, so parsing a text file at startup
> isn't an option.  A database like MySQL isn't an option because of the
> problems of setting it up on each client.  (This program needs to be able
> to run without access to the Internet, so one central server is out of the
> question as well.)  Also, I'm developing in Linux, but deploying for all
> platforms, so I need it to be platform independent.  Any ideas?  Thanks!

It sounds like you want something like the Berkeley DB - a simple, widely
used, embedded database system. There is a Java interface for it. Good
news: it's portable. Bad news: it's only portable at the source level -
there's a  JNI component to it. If you can ship a per-platform JNI component,
it's the answer to your dreams. More: http://www.sleepycat.com/ .

Nathan

>
>
> Ben
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: how to print gui on linux

2000-08-08 Thread Joi Ellis

Francis Ha wrote:
> 
> how to print gui in linux ? any body knows??
> i know lpr ... lprd .. i mean
> ( alt printscreen ) in linux

I use the import command to capture the window image as a gif.
I then use xv or display to crop out what I don't want saved.

Import and display are in this rpm:

ImageMagick-4.2.9-1

>From there I use xv to print, though you can use convert to change
it from gif to postscript yourself.  That gives you more control over
the results than xv does.

--
Joi EllisSoftware Engineer
Aravox Technologies  [EMAIL PROTECTED], [EMAIL PROTECTED]

No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about Linux is that it has Microsoft worried.  Anything
that kicks a monopoly in the pants has got to be good for something.
   - Chris Johnson


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Pablo Trujillo

2000-08-08 Thread Pablo Trujillo

I need to execute linux commands from code java. Help





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: postgresql jdbc driver

2000-08-08 Thread Jim Caley

I suppose this question has both Java and Linux elements to it (assuming your
platform is Linux), but it would still be more appropriate -- and you'll get
better results -- if you post it to the pgsql-interfaces list. :)  See
http://www.postgresql.org (then Info Central/Mailing Lists) for more info.

Anyway, I think the first thing many over there may say is to go to v. 7.0.2 --
it's far superior to 6.x.  I know in 7.x I've never had problems finding
interfaces/jdbc.  (Could that be the problem... are you looking for "interface"
rather than "interfaces"?)

Regards,
Jim
--

wangmq wrote:
> 
> I have installed postgresql-6.4.2, but I can't find the directory interface/jdbc. So 
>I can't find the postgresql driver postgresql.jar. Why?
> ôèPԔ ‘ 
>ÿzf¢–Ú#jöÿ–)îÇúު笷øÚ½¯Û•§$vŒ'þŠàÂ+aj˛ç-¡ÿîžË›±ÊâmïÿNº.nWÿ
> ‰íiËdj¹ÿnVœ‘Ú0Ÿú+


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Pablo Trujillo

2000-08-08 Thread Urs A. Schroffenegger

Pablo Trujillo wrote:
> 
> I need to execute linux commands from code java. Help
> 

if you want to execute shell commands, you can use the Runtime class (in
java.lang.*), with the exec(String command), it returns a new process
executing the system command specified, with the methods
getInputStream() and getOutputStream(), you can get the return of the
program: here is a little bit of code executing 'ls':

String temp = "";
BufferedReader input;
try {
Process p = Runtime.getRuntime().exec("/bin/ls");
input = new BufferedReader(new
InputStreamReader(p.getInputStream()));
while ((temp = input.readLine()) != null) {
System.out.println(temp);
}
} catch (IOException exception) { // you have to catch the IOException
exception.printStackTrace();
}

If your application sends back an exit code, you can wait for it using
waitFor(), this code starts an xterm and waits for it to exit, then goes
on: 

try {
Process p = Runtime.getRuntime().exec("xterm");
System.out.println("Exit code: "+ p.waitFor());
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) { // another exception to catch
e.printStackTrace();
}


I hope this helps a bit further, 

Urs


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Storage and Retreival for Java Program

2000-08-08 Thread Ben Pharr

At 04:37 AM 8/8/00 , you wrote:
>Whatever method is used, if every client needs its own copy, start-up
>time is likely to be affected.
>
>If there is no central database presumably you don't want people to be
>able to make changes which become available to other users...
>
>What about using ObjectOutputStream to write out the data as a Java
>object?  Though to be honest this is ultimately going to result in a
>slow start-up.
>
>
>Robbie


That's correct.  The data supplied with my program will be the same across 
every program.  The data the user then supplies is only used by that 
user.  I need a database-like method that will allow me to only pull in 
data that matches a certain criteria.  Once again, it must be 
platform-independent and shouldn't be too hard to set up.  Any ideas?  Thanks!

Ben
  


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Pablo Trujillo

2000-08-08 Thread Juergen Kreileder

> "Urs" == Urs A Schroffenegger <[EMAIL PROTECTED]> writes:

Urs> if you want to execute shell commands, you can use the

These should be "to execute files".  If you want to use shell builtins
or shell features like redirection you need a shell, e.g.:

Runtime.getRuntime().exec(new String[] {"/bin/sh", 
"-c",
"ls / 2>&1 | tee ls.log"});


Urs> Runtime class (in java.lang.*), with the exec(String
Urs> command), it returns a new process executing the system
Urs> command specified, with the methods getInputStream() and
Urs> getOutputStream(), you can get the return of the program:


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Pablo Trujillo

2000-08-08 Thread Urs A. Schroffenegger

Juergen Kreileder wrote:

> These should be "to execute files".  If you want to use shell builtins
> or shell features like redirection you need a shell, e.g.:
> 
> Runtime.getRuntime().exec(new String[] {"/bin/sh",
> "-c",
> "ls / 2>&1 | tee ls.log"});

Oho, thats why my "ls > testfile" refused to work ... :-)
Another solution is to pack it in a shell script and execute this one

Urs


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Data Storage and Retreival for Java Program

2000-08-08 Thread Vincent Trussart

Ben Pharr wrote:

> At 04:37 AM 8/8/00 , you wrote:
> >Whatever method is used, if every client needs its own copy, start-up
> >time is likely to be affected.
> >
> >If there is no central database presumably you don't want people to be
> >able to make changes which become available to other users...
> >
> >What about using ObjectOutputStream to write out the data as a Java
> >object?  Though to be honest this is ultimately going to result in a
> >slow start-up.
> >
> >
> >Robbie
>
> That's correct.  The data supplied with my program will be the same across
> every program.  The data the user then supplies is only used by that
> user.  I need a database-like method that will allow me to only pull in
> data that matches a certain criteria.  Once again, it must be
> platform-independent and shouldn't be too hard to set up.  Any ideas?  Thanks!
>

Maybe InstantDB is what you are looking for.  It is now part of the Enhydra
project,
under the Mozilla license.

Taken from http://instantdb.enhydra.org/

What is Instant DB?
   InstantDB is an all Java, Relational Database
Management
   System (RDBMS). Features supported include joins,
   transactions, triggers, sub-selects, table aliasing
and much,
   much more that you wouldn't normally expect to find in
a free
   RDBMS. Since its launch in July 1997, InstantDB has
been
   adopted by thousands of internet and database
developers
   around the world. It is small, efficient, easy to
install, and comes
   with lots of examples to help get the novice developer
started.
   InstantDB is accessed via its own JDBC[tm] driver. By
using
   standard SQL and Sun's JDBC API, InstantDB ensures
that your
   applications enjoy a high degree of portability.


Good luck!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]