Re: Running Java programs from boot
You'll have to be sure that the startup script you're running it from is run after a global PATH has been set or that the script has a PATH set itself. That is a bin path not a classpath. -- Mark Ogden http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: The Deitels' Java How to Program and Linux
Is the J2SDK not the Java 2 development kit? You can get version 1.3 of the JDK from java.sun.com. Java 2 by the way is exactly the same as 1.2! Don't ask why, it just sounds better I suppose! -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Blackdown Applet
I see what you mean about the applet. After I flicked through a few pages Netscape crashed and it seemed to take the whole of X with it! Hmmm...no response from anything until I killed NN. Is this a prob with the applet or with NN? I'm running 4.7. I have a quick question while I'm here. Is there a significant difference between the Linux JDK from Sun and the Linux JDK from Blackdown? -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Servlets...
Can anybody point me to any decent resources on the web to help me learn more about Java Servlets? Also, are there any O'Reilly books on the subject? Cheers in advance... -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Servlets...
Does anyone have experience of using Tomcat, Jakarta and JServ? How do these differ from Enhydra? -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Runtime.getRuntime().exec(message);
It doesn't matter if it's part of the PATH because you are not running it in a shell. If you did 'sh java' then that would be strange! -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Santosh Dawara wrote: > Christopher Smith wrote: > > > > --On Thursday, October 05, 2000 4:55 PM +0530 Santosh Dawara > > <[EMAIL PROTECTED]> wrote: > > > What if someone tried a > > > Runtime.getRuntime().exec("java"); ? > > > or Runtime.getRuntime().exec("javac"); > > > > > > I get an IOException for the same. > > > Wheras, native applications (like "ls" and "clear") work fine. > > > > > > Whats the differance between the two calls ? > > > > Your right ... when I added the entire path for java, it worked ok, > but then java is already part of the Global variable PATH for the > shell I am using, this I am sure of. > > tricky ... > > > I'm just guessing, but perhaps "java" and "javac" aren't in your path? > > Also, you aren't including sufficient arguments to the programs in > > question, although I don't think that will cause an IOException. > > > > --Chris > > > -- > 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: Events
THIS means that THIS class will be the ActionListener for that button. You will therefore have to have an actionPerformed method within the class to handle any events coming from that button. This is VERY different from the way things were done in Java 1 and, in my experience, far more efficient. Although, a little confusing at first. Stick with it... -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Nicolas Raitman wrote: > Hi to all. I am very lost with handling events in Java, so I have some > questions, suppose I have this: > It is an applet. Of course, most of the code has been omitted. > > public void init() > { > > Button button1; > button1 = new Button("OK") > > add(button1); > button1.addActionListener(this); // in the first place, what does this > 'THIS' mean ? > } > > > > > -- > 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: Tomcat + EJB ?
Here's a quick question...Sorry to waste people's time but what are the essential differences between JavaBeans and EJB from a practical point of view? -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden On Thu, 5 Oct 2000, Jesus M. Salvo Jr. wrote: > > > ...because Tomcat is a Servlet 2.2 + JSP 1.1 engine. > > > > Mohd Mokhtar wrote: > > > > Does Tomcat suppport EJB ? I could not found any word in Tomcat > > documentation saying it have EJB capabilities. > > > > Anybody have ideas ? > > > > --= ahYeop =-- > > > > -- > > 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: GridBagLayout
Now I'm not entirely sure but what you have to call repaint()? Just a guess... -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: calling another applet
On Sun, 15 Oct 2000, Nicolas Raitman wrote: > Suppose that I have a web page with an applet on it. If the applet has a > button, how can I make this button to call another web page. I mean, I know > the method of the ActionListener, I just want to know how to call another > page that will contain another applet. Try: getAppletContext().showDocument(URL, target) Where URL is a URL and target is the target frame (or "_top", "_blank", etc.) That's how it worked in Java 1 and it still works now. There may be another way though. If there is I'd be interested to know as well. -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: rmid, http start-up on linux
I do feel for you matey but: Woke up this morning in the arms of my girlfriend My flu is much better than it was yesterday Saved myself a few quid on getting the bus because I got my brother to pick me up Been out tonight and had a few too many to drink (It's taken me far too long to write this e-mail!) All in all a very good day! Sorry to hear about your misfortune but I am on your side. The sysadmins should be telling people to keep things in order. It's a big black mark for them that it had to come from you. Take care people and have a good Saturday 14th... Bye bye then... -- Save the whales. Collect the whole set. [EMAIL PROTECTED]http://homepage.ntlworld.com/pogden -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]