Re: Jython Caching Argv

Jeff Allen <[email protected]> Sun, 12 Aug 2018 16:40:03 +0100
Newsgroups gmane.comp.lang.jython.user
Message-ID <[email protected]>
You're right, it's even easier. :)

I had simplified my command from a line that needed some other jars in 
the path (but -cp is ignored when -jar is given).

Jeff Allen

On 12/08/2018 15:37, Curtis Rueden wrote:
> Hi,
>
> > It is as easy as this to run Jython (in an empty directory that I just
> > created):
> >
> > PS here> java -cp "C:\Jython\2.7.1-sa\jython-standalone-2.7.1.jar" 
> org.python.util.jython
>
> I like to use "-jar" to infer the main class:
>
>   java -jar "C:\Jython\2.7.1-sa\jython-standalone-2.7.1.jar"
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users