Can we integrate java compiler in an azure application? - java

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.

Related

How is to run applications on Android?

First I'm sorry because my English language is poor.
But is my question.
How is to compile and run application written in c/c++ and under NDK on Android OS??
Does it application compiling and running in Dalvik or ART?
Or independent is that VM??
In the case of programs written in other languages, how is it?
For example (C# in Xamarin) or (Delphi in Firemonkey) or (Basic) or (Python)? Thanks a lot for my question answers.
Please, do a research.
Basically yes, almost all non native solutions use some kind of VMs. For example Xamarin use MonoVM for Android platform. The C# code is compiled into CIL, which is executed by the Mono execution environment. This execution environment is run side by side with the Java Virtual Machine, which means the applications are not executed the same as native application, however they are executed in a equivalent way. This means that the performance is tied to MonoVMs implementation.
MonoVM is packaged with the application, which means that Xamarin Platform applications can be installed in the same way as a native application, without any additional installs.

VS Code and Java

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.

How to get Java in Monodevelop?

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.

Is there any way to develop a Java 1.5 application using Cucumber-JVM?

Cucumber-JVM has dependencies on Java 1.6
My client's application runs on Java 1.5 and this can't be changed at the moment
Does anyone know a way to use Cucumber-JVM to exercise my client's application?
I also posted this question on the Cukes mailing list (https://groups.google.com/forum/#!topic/cukes) where I got a response from Aslak Hellesøy (CUcumber's creator):
Me:
Is there any reasonable way to use Cucumber-JVM, built under Java 1.6, to develop a Java application that must run on JRE 1.5?
Aslak Hellesøy:
Short answer: No.
Long answer: Try it and share the problems you experience, then we can talk about whether it's possible to work around them.

Does Eclipse support Linux desktop application development?

I've been assigned to develop a software on Linux, opensuse 11.4. Now the issue is that I'm a Java developer and I want to make that software on Java. Can I use Eclipse IDE for this software? It will be a desktop application on Linux. If Eclipse supports this type of development, what plug-ins do I need to get it started?
Plus I need to use some library routines as well. Can I do all this using Java and Eclipse IDE and some additional plug-ins?
Any help would be highly appreciated.
You may not realize it, but there are two distinct parts to this question. The response depends somewhat on whether you've already decided what GUI toolkit to use. The two obvious choices for a Java app are AWT/Swing (Java's "standard" GUI frameworks) or Eclipse's SWT/RCP. You see, Eclipse is more than just an IDE, it's a platform on which you can build applications. Here is the official description, and here is a very good intro and tutorial. Of course has plenty of tooling built-in to help you develop an RCP app.
If you're looking to stick with AWT/Swing, then Eclipse also has tooling to help with that. Specifically, WindowBuilder (WB) is included in the Eclipse IDE for Java Developers package that you can download. WB helps a lot in designing and implementing your GUI.
Java is (almost) write once, run anywhere (WORA). Thus any Java program you write should be able to run on any architecture and operating system that supports Java. In other words, you don't need to do anything extra to make your program run properly on Linux.
Eclipse can package your application in nice JAR files and the like which can be distributed to any OS.
Just download Eclipse IDE for Java Developers. You won't need any plug-ins.

Categories