Hi, I created a simple java program and converted to .exe with help of s/w called EXEJ. Its availble at "www.bysoft.se\sureshot\exej". And on double clicking on exe file,it works. If i Uninstall the JDK then it won't work. so to Execute exe without JDK is it possible?
This "EXEJ" obviously produces EXE files that just invoke the JRE. But there do exist Java-to-EXE compilers that don't depend on an installed JRE. I'm not aware of a free one, but there are definitely commercial compilers. Google is your friend here as well.
Hi Sanjaya, Thanks. One more.... I create the the exe file using the class file. After words i delet the class file, then the exe file is not running? Is there any possibilities to run the exe without class file.
You can't run without the JRE anymore than you can run most recent C/C++ Windows apps without MFC42.DLL or Visual Basic programs without VBRUNxx.DLL. The shared modules are essential parts of your program. They're third-party components that provide shared functionality that isn't common enough to be part of the OS (actually, in some versions of Windows, MFC42.DLL is part of the OS).
Or at least they would be "third-party" if Microsoft didn't make both the OS and the Visual Studio language suite.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Apr 15, 2006
Ok, thanks..... And one more thing is that, Is the DOS has the builtin JVM?
Most operating systems don't come with a preinstalled JVM, or at best with one that either fundamentally broken (gcj on Linux) or seriously outdated (MS JRE 1.1 on Windows 2000 and older).
But it shouldn't be a problem to install a JVM for your users. Downloads aren't large and installation is pretty painless (and if you distribute on CD for example you can include the installers for the most used operating systems with your application, see the Sun license terms for details on what you can and cannot do).
subject: without installing JDK is it possibe to run Java EXE file.....?