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 of it. Now you mention it I've been playing with it.

Awesome! Might even make it my login shell. :->

--
Rachel



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



Jsp Newbie, Help

2000-03-17 Thread V.Vasant

Hello,
I have just started learning about servlets , even though I have
sufficient knowledge of the language in general. I downloaded and
installed the JSDK 2.0 , but I couldn't find the servletrunner utility...
Also how do I view the servlets I write and where do I keep them??
Please forgive my ignorance..

-Vasant.V
-Indian Institute Of Information Technology
-Hyderabad
-India


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



Re: Jsp Newbie, Help

2000-03-17 Thread John . Folkers



Vasant,

The JSDK is what you need, yes.  Default servletrunner location:
/usr/local/JSDK2.0/bin/  Also, check the doc directory in the JSDK for where it
talks about an overview of the servlet architecture.

I use JServ-1.1 instead of servletrunner to serve up servlets.  JServ contains
volumes of information in its doc directory.

You might also want to check out:

Java Programming on Linux by Nathan Meyers.
http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=1571691669

Inside Servlets by Dustin R. Callaway.
http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0201379635


John






"V.Vasant" <[EMAIL PROTECTED]> on 03/17/2000 08:53:41 AM

To:   [EMAIL PROTECTED]
cc:
Subject:  Jsp Newbie, Help




Hello,
 I have just started learning about servlets , even though I have
sufficient knowledge of the language in general. I downloaded and
installed the JSDK 2.0 , but I couldn't find the servletrunner utility...
Also how do I view the servlets I write and where do I keep them??
 Please forgive my ignorance..

-Vasant.V
-Indian Institute Of Information Technology
-Hyderabad
-India


--
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: Jsp Newbie, Help

2000-03-17 Thread Peter Pilgrim



[EMAIL PROTECTED] wrote:
> 
> Vasant,
> 
> The JSDK is what you need, yes.  Default servletrunner location:
> /usr/local/JSDK2.0/bin/  Also, check the doc directory in the JSDK for where it
> talks about an overview of the servlet architecture.
> 
> I use JServ-1.1 instead of servletrunner to serve up servlets.  JServ contains
> volumes of information in its doc directory.
> 
> You might also want to check out:
> 
> Java Programming on Linux by Nathan Meyers.
> http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=1571691669
> 
> Inside Servlets by Dustin R. Callaway.
> http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0201379635
> 
> John
> 
> "V.Vasant" <[EMAIL PROTECTED]> on 03/17/2000 08:53:41 AM
> 

You also need Apache 1.3.6 (http daemon) or later.

-- 

Adios
Peter

-
import std.Disclaimer;  // More Java for your Lava, Mate.
T H ER E D   A R M Y! ! !   http://www.manutd.com/


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



Re: Problem with exec() on BlackDown 1.1.8 v1 and RH6.1

2000-03-17 Thread Dimitrios Vyzovitis

[EMAIL PROTECTED] wrote:

> Thank you very much for everyone responding to my original question.
> I did try to use exec("./a.out") in the java application but still get
> exception like:/mnt/e/Linux/java/proc/One>java communicate
> got e after try exec()
> java.io.IOException: ./a.out: not found
>  at java.lang.Runtime.exec(Runtime.java)
>  at java.lang.Runtime.exec(Runtime.java)
>  at communicate.main(communicate.java:14)

try the full path.

-- dimitris
   mailto:[EMAIL PROTECTED]




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



problem with jdk1.2.2 for Linux

2000-03-17 Thread mist

I installed jdk1_2_2 on a Linux PC, but when I try compiling with javac, the following 
message comes:



/usr/bin/jdk1.2.2/bin/javac: /bin/realpath: No such file or directory
/usr/bin/jdk1.2.2/bin/javac: /bin/realpath: No such file or directory
javac was not found in /bin/i386/green_threads/javac



javac is placed in /usr/bin/jdk1.2.2/bin/

WHat can I do to solve this?

Thanks,

Jan



--
Get the Latest News at CNN Interactive: http://CNN.com


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



Re: problem with jdk1.2.2 for Linux

2000-03-17 Thread Riyad Kalla

Did you include /usr/bin/jdk1.2.2/bin in your path at the very
front of it?

a la:

export PATH=/usr/bin/jdk1.2.2/bin:$PATH

On Fri, 17 Mar 2000, [EMAIL PROTECTED] wrote:
> I installed jdk1_2_2 on a Linux PC, but when I try compiling with javac, the 
>following message comes:
> 
> 
> 
> /usr/bin/jdk1.2.2/bin/javac: /bin/realpath: No such file or directory
> /usr/bin/jdk1.2.2/bin/javac: /bin/realpath: No such file or directory
> javac was not found in /bin/i386/green_threads/javac
> 
> 
> 
> javac is placed in /usr/bin/jdk1.2.2/bin/
> 
> WHat can I do to solve this?
> 
> Thanks,
> 
> Jan
> 
> 
> 
> --
> Get the Latest News at CNN Interactive: http://CNN.com
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- 
Riyad Kalla
General Partner, Multimedia & Design
[EMAIL PROTECTED]
http://www.transitivesys.com


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



Re: Problem with exec() on BlackDown 1.1.8 v1 and RH6.1

2000-03-17 Thread allen petersen

if i were smart, i would try out your source code example before sending a 
response to the list.  but laziness wins again, so...

you might try adding '.' to your path.  i've had some problems before with exec()
and relative paths--in a unix shell, './a.out' will work even if '.' isn't in your 
path, but the same doesn't seem to be true with java's exec().  i don't know if 
this is a by design or a bug in the jdk.  again, if i were smart, i'd look it up.

good luck.

-allen

On Fri, Mar 17, 2000, 12:55, [EMAIL PROTECTED] wrote
!Hi:
! 
!Thank you very much for everyone responding to my original question.  I did
!try to use exec("./a.out") in the java application but still get exception
!like:
! 
!/mnt/e/Linux/java/proc/One>java communicate 
!got e after try exec()
!java.io.IOException: ./a.out: not found
! at java.lang.Runtime.exec(Runtime.java)
! at java.lang.Runtime.exec(Runtime.java)
! at communicate.main(communicate.java:14)
!/mnt/e/Linux/java/proc/One>
! 
!a.out is in the same directory as the java application.  No problem to run
!a.out as a standalone app from the command line.  It's only a hello world
!app.  I attached the java app source code below.  Could someone take a look
!and see what I did wrong?  I'm using BlakDown 1.1.8 v1 on RH 6.1
! 
!Thank you.
! 
! 
!Lee
! 
!/***
!* java application source code
!/
!import java.lang.*;
!import java.io.*;
! 
!class communicate
!{
!Process proc_; 
!
!public static void main(String argv[])
!{
!communicate app = new communicate();
! 
!try
!{
!   app.proc_ = Runtime.getRuntime().exec("./a.out");
!}
!catch(IOException e)
!{
!System.out.println("got e after try exec()");
!   e.printStackTrace();
!}
!}
!}
!
!
! 
!
!-Original Message-
!From: Xing, Lee 
!Sent: Thursday, March 16, 2000 4:40 PM
!To: [EMAIL PROTECTED]
!Subject: exec() on Linux
!
!
!Hi:
! 
!I got a java application that uses exec("nativeApp.exe") to start a native
!application.  It works fine on NT.  But on Linux exec("a.out") gets an
!exception saying a.out could not be found.  a.out is placed in the same
!directory as java app does.  What I missed?
! 
!Thank you.
! 
! 
!Lee
! 
!
!


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