There must be more going on against the args given to main; the following
Code:
public class jtest
{
public static void main( String args[] )
{
System.out.println( "args[ 0 ] is " + args[ 0 ] );
System.exit(0);
}
}
when run
Code:
$ java jtest http://mysite.com/1.1.1/myothercode.jar
prints what is expected
Code:
args[ 0 ] is http://mysite.com/1.1.1/myothercode.jar