Subject: Re: Need to run a .jar file
To: Laine Stump <lainestump@speakeasy.net>
From: Jean-Luc Wasmer <jl+netbsd@lists.wasmer.ca>
List: netbsd-users
Date: 07/27/2004 09:12:01
>     java -jar c07-sip-r2.jar -touri he@them.invalid -teardown -validcase
>
> Being a complete java idiot, I figured I could just install jdk from 
> pkgsrc and I would get what I wanted, but that seems not to be the 
> case. When I run the java binary in the jdk's bin directory, it says 
> it doesn't recognize the -jar option.
>
> So what do I need to do to run .jar files?

This should work. What does the java binary say if you call it with no
arguments.

JL

PS: I don't think this problem should be posted on a NetBSD list.