travel2light wrote:
> On 8 Mar, 14:20, thenerdwonder
>> You can make a .jar file executable. Just set the Main-Class attribute
>> in the manifest. After that, double-clicking the .jar should execute
>> whatever class you specified there.
>>
>
> Hi
> The Jar file is already exucutable, but I don't think it is possible
> to set the heap size in the manifest. I tried sending the game to a
> friend using a batch file (using parameters 'java -jar -mx256m
> mygame.jar' to run it, but windows was suspicious of it, and wouldn't
> unpack it from a zip file.
Is Windows the master or the servant?
Isn't there a way for your friend to overcome Windows's suspicion, and command
its compliance with their will?
Failing that, couldn't your friend simply enter the 'java' command on their
own command console?
--
Lew