I know that MonoDevelop comes with IDEs for C and C# (among others), but how would I get Java as well? Assuming I'm on a 64-bit Windows machine.
Thanks
There is some support for Java in Mono using IKVM.NET. Take a look at the http://www.mono-project.com/Java
There is also a plugin for Java in MonoDevelop - https://github.com/mono/monodevelop/tree/master/extras/JavaBinding, using IKVM.NET as well. You can try to build it and check how it goes.
Keep in mind that the purpose of IKVM.NET is to run Java code on top of .NET framework, so it will be "another Java" at least.
Related
I wonder if it is possible to use GraalPython as a Java library to interpret Python code on a standard JVM. If so, would it be a good choice to replace Jython (which only supports Python 2.7)?
Is this possible without importing the entire GraalVM project? I expect only Truffle and the Python interpreter built on top of it should be necessary.
If this is not possible, are there any good Java implementations of Python 3 available?
You should be able to run any GraalVM language on any JDK as their are just Java programs. However, the performance will be affected a lot. Moreover, languages like python consist of additional resources (standard library files, etc.) that you would have pull from GraalVM too.
This document about GraalVM JavaScript discusses this in more detail and describes how to run GraalVM JavaScript on stock JDK without compromising the performance. Some of it can be applicable to GraalPython.
https://github.com/graalvm/graaljs/blob/master/docs/user/RunOnJDK.md
Tl;dr: it will be much easier to use GraalVM. It's full JDK distribution. You are not missing on anything. If you can't, there are some ways.
Is it possible to introduce Java runtime type in Google Colab?
For example, my jupyter notebook contains java code, which was run using a java kernel, specifically, IJava
So, can we change runtime type in Google Colab, to run java code in the notebook?
As of writing this, the https://research.google.com/colaboratory/faq.html mentions:
What about Python3? (or R, Scala, ...)
Colaboratory supports Python 2.7 and Python 3.6. We're aware that users are interested in support for other Jupyter kernels (eg R or Scala). We would like to support these, but don't yet have any ETA.
I've also tried using the "Connect to local runtime" option with the hopes it would let me use the kernels I have installed on my machine but had no luck with that either. So, unfortunately the answer looks like not yet.
Actually, yes you can. Here is a post that breaks the process down in more detail, but in short, you use the IJava kernel from #SpencerPark, also linked below.
Instructions for installing and configuring the Java kernel
https://medium.com/#gmsharpe/jupyter-java-and-google-colab-7a2f7fb08808
IJava
https://github.com/SpencerPark/IJava
I am totally new to VS Code and as I want to start learning Java for Android development. I saw that the Java language was supported by the VS Code IDE so that was good news. Ok but how would one exactly approach developing anything in Java via VS Code? I mean what is the build process for compiling anything I write in Java? Would I need to write some special tasks.json or?
What I would like to start with is a simple "console" like Java application build with VS Code. I would appreciate any information regarding this topic, thank you.
You will need to install the java language support by pressing F1 and entering ext install java.
You will need to install maeven or gradle (or ant?) for your build process.
I want to build an application on windows azure platform that will have minimal compilation powers for the java language.
Is it possible to integrate a java compiler in such an application?
If not, is there an alternate way to do it?
Thank you in advance.
Scott Golightly has a video on running Java on Azure - so you'd just need to follow similar steps to get the JDK installed, and then run the compiler from your code.
Of course if you can find a Java compiler implemented in .NET, that would be simpler as there's better tooling for .NET deployment. One option may be to run IKVM.NET which implements the Java environment within .NET.
Java RMI -Remote Method Invocation- is Java to Java only.
On the Scala website I read that the integration with Java is seamless and that:
Scala programs run on the Java VM, are byte code compatible with Java so you can make full use of existing Java libraries or existing application code. You can call Scala from Java and you can call Java from Scala, the integration is seamless.
Does this mean that I can successfully use a Java to Scala RMI?
Did anyone experiment this first-hand?
EDIT:
Any known or discovered gotchas??
Yes, here's a link to a message thread where it looks like somebody's done it. It says:
Yes it can! Thanks for help. I now have a little RMI-based pair of Scala programs that will be performing transfers of documents from one Documentum system to another (of a previous version); the Scala code is interacting very nicely with the Documentum Java libraries.
Figuring out how to get the method signatures to include throws RemoteException seems to have been the biggest hurdle.
Yes, this can be done. The rmi compiler works with java byte code, so the language used really doesn't matter. I've done this for a class project.
It would depend on what RMI library you are using but in general, the answer is "Yes." Although, note that if you write a method that returns (for example) a Scala collection like scala.collections.immutable.List, then your calling Java code will probably not be able to convert that to a java.util.List.