Re: Java shell

2000-03-17 Thread Rachel Greenham
Rob Saul wrote: > Timothy Reaves wrote: > > > > I saw - somewhere sometime - a java shell application, that would > > let you interactively execute java code. I've lost the link. Can > > someone provide some assistance? > > Perhaps you're thinking of http://www.beanshell.org ? Never heard

Re: Java shell

2000-03-16 Thread Dimitrios Vyzovitis
Timothy Reaves wrote:     I saw - somewhere sometime - a java shell application, that would let you interactively execute java code.  I've lost the link.  Can someone provide some assistance? jpython is  definitely what you are looking for. Really simple and intuitive. You can even mix java and

Re: Java shell

2000-03-16 Thread Weiqi Gao
Mo DeJong wrote: > > Do you mean Jacl? It is a Tcl port written in Java. The homepage is at > http://www.scriptics.com/java > > With Jacl, you can allocate Java objects and call methods on them like > this. > > set str [java::new String "I am a Java string"] > set hc [$str hashCode] > > It is

Re: Java shell

2000-03-16 Thread vladimir
JPython allows this, I think. ---Vladimir Vladimir G. Ivanovichttp://www.leonora.org/~vladimir 2770 Cowper St. [EMAIL PROTECTED] Palo Alto, CA 94306-2447 +1 650 678 8014 "TR" == Timothy Reaves <[EMAIL PR

Re: Java shell

2000-03-16 Thread Mo DeJong
Do you mean Jacl? It is a Tcl port written in Java. The homepage is at http://www.scriptics.com/java With Jacl, you can allocate Java objects and call methods on them like this. set str [java::new String "I am a Java string"] set hc [$str hashCode] It is very cool stuff. Mo Dejong Red Hat Inc.

Re: Java shell

2000-03-16 Thread Seth M. Landsman
On Thu, Mar 16, 2000 at 01:28:01PM -0500, Timothy Reaves wrote: > I saw - somewhere sometime - a java shell application, that would > let you interactively execute java code. I've lost the link. Can > someone provide some assistance? http://www.beanshell.org/ -Seth -- "It is by will alone

Re: Java shell

2000-03-16 Thread Rob Saul
Timothy Reaves wrote: > > I saw - somewhere sometime - a java shell application, that would > let you interactively execute java code. I've lost the link. Can > someone provide some assistance? Perhaps you're thinking of http://www.beanshell.org ? -- Rob Saul | -

Re: java shell script

1999-02-22 Thread pridemor
Oops. Sorry for wasting everyone's time. Turn out that it is a problem with native threads, and it works fine with green threads. Thought I tested that... Russ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: java shell script

1999-02-22 Thread pridemor
ifference??? I normally run with bash, but also tried ash, pdksh, and csh. Also, the little class and shell script I posted works perfectly on a SPARC. :-( Russ [EMAIL PROTECTED] on 02/19/99 05:44:30 PM To: [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: java shell scr

Re: java shell script

1999-02-19 Thread Moses DeJong
> No, I'm seeing the same problem with both green and native threads... > > > > > > [EMAIL PROTECTED] on 02/19/99 05:17:34 PM > > Please respond to [EMAIL PROTECTED] > > To: [EMAIL PROTECTED], > [EMAIL PROTECTED] > cc: (bcc: Russell Pr

Re: java shell script

1999-02-19 Thread Michael Sinz
On Fri, 19 Feb 1999 17:29:55 -0500, [EMAIL PROTECTED] wrote: >No, I'm seeing the same problem with both green and native threads... Hmmm... I run Java from shell scripts all the time. Which shell are you using? Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROT

Re: java shell script

1999-02-19 Thread pridemor
No, I'm seeing the same problem with both green and native threads... [EMAIL PROTECTED] on 02/19/99 05:17:34 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc:(bcc: Russell Pridemore/Lex/Lexmark) Subject: Re: java shell script On Fr

Re: java shell script

1999-02-19 Thread Michael Sinz
On Fri, 19 Feb 1999 16:10:43 -0600, Moses DeJong wrote: >I ran into this same problem. I too posted a note to the mailing list >but I did not hear back from anyone. The really odd part was that it >only seemed to happen when running with native threads. If I ran the >green threads version it work

Re: java shell script

1999-02-19 Thread Moses DeJong
On Fri, 19 Feb 1999 [EMAIL PROTECTED] wrote: > Greetings, > > I'm having problems running java from within a shell script. The java > application mostly runs, but I've noticed that it does not receive a > ^C interrupt and it cannot read from stdin when invoked this way. > Typing "java ..." dire

Re: Java Shell

1999-01-05 Thread Peter T Mount
On Tue, 5 Jan 1999, Dimitris Vyzovitis wrote: > Andreas Rueckert wrote: > > > Yep! It's just an easier way to start the JVM. > > > > And not really. > I haven't managed to get classes in packages running directly from the shell. Has > anybody done so? Not yet under Linux, but I've done it unde

Re: Java Shell

1999-01-05 Thread Dimitris Vyzovitis
Andreas Rueckert wrote: > Yep! It's just an easier way to start the JVM. > And not really. I haven't managed to get classes in packages running directly from the shell. Has anybody done so? Dimitris

Re: Java Shell

1999-01-05 Thread Andreas Rueckert
Hi! On Mon, 04 Jan 1999 Peter Schuller wrote: >> I believe that you can compile Java support into your kernel, or perhaps >> as a module. In other words, what you want does exist. Check into >> building a new kernel or using modules. > >AFAIK, the kernel support only entails recognition of .cla

Re: Java Shell

1999-01-04 Thread Donald Ball
This is also a perfect use of servlets - they're not just for WWW services, you could write just about any service which runs as a daemon as a servlet. You might have a bit of trouble finding a servlet engine which fits this niche well - perhaps a modification of the Apache JServ environment would

Re: Java Shell

1999-01-04 Thread Christopher Hinds
This might be a perfect use for JINI technology. Image a JVM loaded a system boot as a daemon can be sent java class to execute through a special class loader that is always running. Cheers Chris Context Grey wrote: > I think this is a good idea- > > I've wanted to write little Unix-style utili

Re: Java Shell

1999-01-04 Thread Peter Schuller
> I believe that you can compile Java support into your kernel, or perhaps > as a module. In other words, what you want does exist. Check into > building a new kernel or using modules. AFAIK, the kernel support only entails recognition of .class files as executables. The kernel doesn't keep a J

Re: Java Shell

1999-01-04 Thread Chr. Clemens Lahme
As much as I would love to have something like a java bash (ok, call me a java junky), there is already something to avoid continues jvm loading. It's called Echidna. You can find it at: http://www.javagroup.org/echidna/ You can start different java applications in one jvm. The author used it al

Re: Java Shell

1999-01-04 Thread Context Grey
I think this is a good idea- I've wanted to write little Unix-style utilities in java, but the startup overhead is quite large. As such a script written in tcl or something else "feels" much faster, even though in fact Java is considerably faster (some things like tcl are *thousands* of times sl

Re: Java Shell

1999-01-03 Thread John Summerfield
On Sun, 3 Jan 1999, Richard Hall wrote: > I believe that you can compile Java support into your kernel, or perhaps > as a module. In other words, what you want does exist. Check into > building a new kernel or using modules. I've used it. It's no more than a cute trick for loading the jvm: it

Re: Java Shell

1999-01-03 Thread Richard Hall
I believe that you can compile Java support into your kernel, or perhaps as a module. In other words, what you want does exist. Check into building a new kernel or using modules. Richard Hall Network Services University of Tennessee