Beyond Verses

My blog that specializes in Space Science and latest news from NASA

Tuesday, February 15, 2011

Convert JAR file to EXE excutable (Step by Step)

Hi,
Previously I talked about how to convert a jar file to exe file so you be able to share your java work with friends and make a really cool things :)

Today I am gonna explain step by step how to convert jar file to exe file


Let's start
1. Download and install the freeware JSmooth from here
 What we gonna to do is converting my program Sorting techniques simulation from jar to exe

2. Select Skeleton, and then choose your suitable method for converting (from ? icon)
     For us here we will select like the image shows, our option will make the exe file download the JVM if not found.

Figure 1


3. Select Executable. Browse to the location you want the exe to create to and then write down the name of the program 

Figure 2


 4.  Select Application. Browse to select your jar file, and then browse to select the main class.

Figure 3


 5. Select JVM Selection.Write down the minimum JVM version.

Figure 4

 6. Select JVM Configuration. It is prefer to specify the maximum memory used by the program to avoid any halting of the exe file.
Figure 5
Now just press project menu and hit compile.


You are welcome to discuss anything with me either by comment or email or even chat.
This is My Original Topic. you can spread the word :D
Thanks for reading !

Wednesday, January 12, 2011

NASA's Fermi Catches Thunderstorms Hurling Antimatter into Space (antimatter particles were formed)

Scientists using NASA's Fermi Gamma-ray Space Telescope have detected beams of antimatter produced above thunderstorms on Earth, a phenomenon never seen before.

Scientists think the antimatter particles were formed in a terrestrial gamma-ray flash (TGF), a brief burst produced inside thunderstorms and shown to be associated with lightning. It is estimated that about 500 TGFs occur daily worldwide, but most go undetected.


"These signals are the first direct evidence that thunderstorms make antimatter particle beams," said Michael Briggs, a member of Fermi's Gamma-ray Burst Monitor (GBM) team at the University of Alabama in Huntsville (UAH). He presented the findings Monday, during a news briefing at the American Astronomical Society meeting in Seattle.

Continue reading that amazing article at NASA site: Source

 Full Material related to that post: at Source

Friday, November 5, 2010

Convert Jar file to EXE executable

Hi friends,

Sometimes it is needed to convert your java application with jar extension to an exe one. That will make it easier to spread among your friends. It is sometime desirable to convert the JAR file in to EXE (executable) and distribute the EXE. Although the exe can be executed only in Windows environment, this will definitely affects the “platform independency” of a Java program. Still if you want to convert a JAR file in EXE then following tools are for you.
You can see that Post: Convert jar file to exe executable (Step by Step)

JSmooth .exe wrapper

JSmooth is a Java Executable Wrapper. It creates native Windows launchers (standard .exe) for your java applications. It makes java deployment much smoother and user-friendly, as it is able to find any installed Java VM by itself. When no VM is available, the wrapper can automatically download and install a suitable JVM, or simply display a message or redirect the user to a web site.
JSmooth provides a variety of wrappers for your java application, each of them having their own behaviour: Choose your flavour!

JarToExe 1.8

Jar2Exe is a tool to convert jar files into exe files.
Following are the main features as describe in their website:
-Can generate “Console”, “Windows GUI”, “Windows Service” three types of exe files.
-Generated exe files can add program icons and version information.
-Generated exe files can encrypt and protect java programs, no temporary files will be generated when program runs.
-Generated exe files provide system tray icon support.
-Generated exe files provide record system event log support.
-Generated windows service exe files are able to install/uninstall itself, and support service pause/continue.
-New release of x64 version, can create 64 bits executives. (May 18, 2008)
-Both wizard mode and command line mode supported. (May 18, 2008)

Executor

Package your Java application as a jar, and Executor will turn the jar into a Windows exe file, indistinguishable from a native application. Simply double-clicking the exe file will invoke the Java Runtime Environment and launch your application.

Advanced Installer

Advanced Installer lets you create Windows MSI installs in minutes. This also has Windows Vista support and also helps to create MSI packages in other languages.
Download: http://www.advancedinstaller.com/
Let me know other tools that you have used to convert JAR to EXE. And also comments/reviews about these tools.
That was a nice topic I found since a while, and I see it is better to share it as it is some how cool :D
Bye