I need to find a way to make my java program run on computers without Java. I made a pretty simple survey/answer type program for my school, and to make it easier to use I used a wrapper (JSmooth to be specific). But it seems that for the teachers that don't have Java installed, the program does not execute. Is there a wrapper that allows for execution of Java code without the JVM installed? I know that the thought of converting Java(Write once, run anywhere) to a specific platform-code is pretty bad, but it's necessary for my situation.
-
There are a lot of questions on this topic - see stackoverflow.com/questions/147181/…Sam Dufel– Sam Dufel2013-02-11 20:55:24 +00:00Commented Feb 11, 2013 at 20:55
-
1looks like excelsior JET might do the joblonewaft– lonewaft2013-02-11 21:00:28 +00:00Commented Feb 11, 2013 at 21:00
-
See also this answer. I am surprised your teachers use only Windows based computers. Aren't Macs popular with educators?Andrew Thompson– Andrew Thompson2013-02-11 21:11:04 +00:00Commented Feb 11, 2013 at 21:11
-
@lonewart A native compiler such as Excelsior JET sounds like an overkill in your situation. If JSmooth is indeed not capable or bundling a private JRE, check out the other options listed in my article. But feel free to apply for a free license (Yes, I work for Excelsior.)Dmitry Leskov– Dmitry Leskov2013-02-12 06:27:47 +00:00Commented Feb 12, 2013 at 6:27
-
@AndrewThompson Macs are expensive and public schools lack money :(lonewaft– lonewaft2013-02-21 19:10:27 +00:00Commented Feb 21, 2013 at 19:10
Add a comment
|
2 Answers
There's not much that can be recommended. You might be able to find something such as JNC or the GNU compiler but they are out of date and your results may vary. If I were you, I would give it a shot anyway. Theres lots of existing discussion on this, just look around you'll find what you need.
EDIT: Take a look at this.
Comments
2 Comments
Saish
Not for a few years, but the OP simply wants to get something running for a school project. It's that or install a JRE.
Saish
There is also the GNU Java compiler. Again, not developed in a while, but likely still usable. gcc.gnu.org/java