Forums

java

Can I install JVM ?

Hi there,

We have java/jvm runnable if you want to switch over to our experimental docker containers. Note that this will only work for your consoles (not webapps or scheduled tasks yet).

If you are interested, let us know and we will switch you over.

Hello,

Thanks for an answer.

I need everything like it is right now plus JVM. Is it possible ? I dont need Java EE WEB container.

Do you need jvm for the console? Or for the webapps/scheduled tasks?

For instance:

I am running simple console app which will listen PORT(any) and handling get/post requests. Can I do that ? Can I run such java console app from my console?

No. Unfortunately that will not work.

It's not allowed ? or technically hard to do ?

Neither. It will not work. The ports on the console servers are not exposed to the world in any way and there are no controls over who has access to which ports. So your app may start and start listening to a port or it may fail because someone else is already using the port. If it does start and is listening on a port, there is no way for anything to connect to that port, so it will be a very lonely app.

Can we use java in the scheduled tasks?

Unfortunately not -- it's only in consoles.