How to make an exe file from Netbeans java project to run in all system which don't having JVM? -


i have created 1 webcam application using netbeans ide , java. converted project .exe file using launch4j software. .exe file running on systems in java installed. otherwise shows error jvm finding error class file not available.

i want make .exe file run in type of systems.

tell me suggestion. waiting

there's no such thing .exe run in systems, if mean running on windows, mac, linux, et cetera. java portable (without recompiling) because has jvm layer insulating details of machine , operating system.

it's possible bundle java runtime environment (jre) java code , ship way; you'd build installer same way other .exe programs. you'd need separate installer each platform.

there compilers produce native code (.exe files or equivalent) java. again, means giving portability , having separate version each platform... , trusting compiler hasn't been thru java compatibility certification. (plus giving hotspot optimization.)


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -