Running an application from a different directory

2004-04-19 Thread Jaume Obrador
Hi I have a problem. I need to execute a java app. that is located in a different directory of the current one. For example I'm at $HOME and run $ java $HOME/myprogram/Program it gets a ClassDefNotFoundException error. But I can compile, using: $ javac $HOME/myprogram/Program.java If I'm i $H

Re: [Solved!] Running an application from a different directory

2004-04-20 Thread Jaume Obrador
Sorry, I found the problem. The problem was that I needn't to specify the full path of the app since I specified the classpath, so: $ java -classpath /home/jaume/Documents/retruc/ ChatServer ... worked perfectly. Thanks. On dt, 2004-04-20 at 05:35, Joseph Shraibman wrote: > Jaume Obrad

Java thread limit

2006-02-06 Thread Jaume Obrador
Hi, I run a java based chat, running a java server, using wrapper from http://wrapper.tanukisoftware.org, and a java applet as a client. The server runs on a Debian based system on port 23. The java server runs 2 threads for each new connection, one as a main thread who receives messages and send

Java thread limit

2006-02-06 Thread Jaume Obrador
Hi, I run a java based chat, running a java server, using wrapper from http://wrapper.tanukisoftware.org, and a java applet as a client. The server runs on a Debian based system on port 23. The java server runs 2 threads for each new connection, one as a main thread who receives messages and send