Ask Your Question

Hal Snyder's profile - activity

2018-02-14 04:55:48 +0200 commented question Run Java in Sagemath! AWESOME! But i got errors/comment/warning!

I don't see how this relates to Sage, so maybe I'm missing your question. The CoCalc editor recognizes the .java filetype and will do syntax highlighting without additional setup. Is that your question? For example in a .term at the command line, you could type "open Aufg1.java" to get an editor tab.

You can compile and run the file from the command line, but I think you may have already have done that. A CoCalc .term is a bash session into an Ubuntu container where java runtime is already installed. More info at the CoCalc wiki: https://github.com/sagemathinc/cocalc/wiki/Programming#java-prog (https://github.com/sagemathinc/cocalc...)