Running jar files java?


#1

Hello, I’ve heard java is preinstalled on containers, my question is are you able to execute jar files in a container?
Thanks


#2

Hey @SpeedyCraftah yes, Java is installed and should work pretty much as expected.


#3

How would I execute jar files though. Through console?


#4

Or you can use the start script in a glitch.json file to execute java -jar hello.jar. https://glitch.com/edit/#!/the-simplest-possible-ruby-poc?path=glitch.json:1:0 is a very simple example.


#5

Thanks! That’s all I needed