Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
i was just wondering if anyone knew of a portable java IDE/Compiler? Something like an iPod but not so advanced, that let's you work with and compile java?
Just thought it would be a cool idea :P
This serves the purpose. We can compile the programs without requiring Java compiler on our machine.
There is an IDE for Android which supports this, see AIDE
Search for drJava. Is a pretty complex editor and includes a(n Eclipse) compiler.
Unfortunatelly, the project seems to be dead.
If you have an iOS device (iPhone, iPod touch or iPad) at hand, you can jailbreak it and install Java from Cydia. This gives you the compiler and the VM. However, it's old and limited to command line functionality.
You can use http://ideone.com/. This is a website for compiling and running java applications Here you can create an account and save all your example programs, which you can later refer from different location or even share it with others.
You can also practice other computer languages in it. It supports more than 40 programming languages.
Have you given any thought about using codenameone platform? http://www.codenameone.com/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm a noob at this but iv been practicing a lot of Java and doing stuff with data structures and what not but I have no idea how to start making actual windows applications... Can someone point me to where I can learn this?
What do you mean by windows applications?
If you mean an application with windows, in the sense that you want an application with a GUI, then you should check out the resources from Oracle on using Java Swing to start with. Other options include JavaFX or AWT.
It is worth noting that there are command line applications. There is no definition of an "application" as specifically something that has a GUI. If you don't know how to make even a small command-line-runnable program in Java, you definitely need to start at the very beginning of the Java tutorials. Here is the Oracle tutorial on basic compiling and running, which applies to Windows as well. The DOS shell commands can be run in Command Prompt.
If you mean specifically how to package Java applications for Microsoft Windows, you should look at how to make JAR files and batch files. Optionally, you can also take a look at this question on SO. Brian Kelly's answer is really complete and teaches you exactly how to make an easy-to-use executable and installer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I am looking for a library / framework that lets me develop Java UIs (e.g., for Windows) using the Android views, layouts and animations. Things like a message loop and AsyncTask would be a great bonus. I don't want to run an emulator but simply get a jar-file.
Unfortunately, my google-foo is insufficient for this task.
Kind regards,
Volker
The project IcedRobot has the goal to develop such a framework. But unfortunately it seems to be stuck - announced in 2011 and no updates for 2 years now.
I don't think there is and will have such thing. Be able running android view system requires not only the java file but lot other native library such as SurfaceFlinger.
This is not possible as Android java is not standard java and doesn't run on JavaVM but rather on DalvikVM.
Take a look at this question:
DalvikVM Vs JavaVM in Android?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
How can i make a Java program which can update itself. I make this program for use within small team. I do not need any advanced features. I just need a simple and minimal solution.
Java Web Start is meant specifically for this. You ship one jnlp file, and java takes care of fetching the newest version from a server.
Apart from that, you can download updated classes and replace them at runtime.
What do you mean by self-updating ?
If you mean that it changes its behavior at runtime (which is rare), you could create code that writes java code, compiles it, and loads it from within a running program. I've seen that done.
The more common scenario is to have a core program with plug-ins, where the plug-ins themselves can be updated at runtime. The simplest way to do this is simply to use interfaces for these services and then load instantiations of these types at runtime. However, writing a fully robust plug-in framework is usually reinventing the wheel. There are many existing architectures such as OSGi.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am currently busy with a project where the main focus of the application is to be extensible (allow 3rd party developers to write plugins / their own implementations of interfaces).
Until now, I have been using Java, and built the application on the NetBeans platform. This has works perfectly fine and is quite easy to implement.
However, the program is quite computationally intense, and must be run on a grid of computers. I think C++ might be better suited for massive computations like I need.
What I would like to know. Is there any libraries like the NetBeans platform for C++. Or would I have to implement everything from scratch (not that I mind, I just wat to know)? Also, how easy is it to write extensible code with C++ and implement something like an update center? This is stuff you get for free with the NetBeans platform. My experience with the using the platform is that it allows you to write very modular code, which is something I like. New modules can be installed independantly, while the platform provides discovery of services to find all the installed plugins / impementations.
Can this be done similarly in C++?
Thanks!
I recommend that you have a look at the Qt framework. They offer a mechanism to create plugins. Have a look at this free online book about Qt. Plugins are discussed in chapter 21.
For modularity on binary level Boost.Extension might be a good choice.
For autoupdate there is for example Google's Omaha (Windows) or Update Engine (OS X)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm wondering if I can access to a Posix Message Queue in Java as I have an application that can't be modified and uses a message queue to talk to other processes.
Is there any api or package that do that?
I know that I can use JNI but I need to do this ASAP so no time to develop that.
Regards.
A bit of Googling found Posix for Java.
Take a look at JNA at GitHub (latest JavaDoc). Quoting the project's description:
JNA provides Java programs easy access
to native shared libraries (DLLs on
Windows) without writing anything but
Java code—no JNI or native code is
required. This functionality is
comparable to Windows' Platform/Invoke
and Python's ctypes. Access is dynamic
at runtime without code generation.
Several projects are using it, including IntelliJ IDEA, Cassandra, and Netbeans.