Java 23 - Convert JAR to EXE

Java 23 - Convert JAR to EXE


Using Launch4Java to convert a JAR file into an EXE
Closed Caption:

everybody's Brian today we'll be
discussing converting jar files in the
Exies why would you want to convert a
jar file in the first place it's already
been converted
well let's say you want to hand this off
to your friend and they don't really
understand command lines or jars or job
or anything they just wanted to run well
in Windows you have any exceed you want
to double click it and run it now doing
a simple search for java THC shows a
huge list of things and a lot of these
costs money today we'll be looking for
one of my personal favorites called
launch for java and you see its launch
for j dot sourceforge.net then you go to
the site and just download i've already
downloaded it but I'm just kind of
showing you the website where you can
kind of expect just click download now
and this is a cross-platform compiler
meaning it can go on just about any
operating system now I've already
created HR file and this is the jar
we're going to work with now this jar
file just is simply prints out a hello
from java here's lunch for java i'm
using three-point 01
it's a zip file just extract it and then
going to the folders you see a lot of
these things really what you need to
know is that it comes in jar format and
exe they believe they actually created
the CXC using launch for J so yes this
is a java program this is just an
example of what java programs can do so
double click Launch 4j and it comes up
with this big let's look at window
we're going to go over some of these
things here all these tabs are different
different variables you need to set
going to go over real quickly so output
file this is what you're building what
you want to make and call it test . sexy
and the jar file you want to use theirs
are wind test . jar and you have the
option of don't wrap the jar launch only
um what are they talking about here well
basically what you're doing is you're
taking the jar file and wrapping it
inside of an exe so the user never sees
the jar file you have the option of not
doing that and just make an exe that
calls the jar file you can specify a
manifest an icon change the directory
get command line arguments that the
process priority
you can do a lot of different things
we're not going to really go over these
we're just gonna keep it basic for this
tutorial class path i don't recommend
you mess around with us
this is if you want to override the
classpath header this is something we
should talk about header type you're
actually compiling something here these
are profiles or object files meaning
you're actually calling a compiler in
the background and generating an exe
this is a GUI or console we have a
console what you're looking at here is a
GUI when we run our java programs in a
console so we're going to select console
don't worry about single instance now
Jerry if we tried to just compile this
right now notice how it says specified
know Jerry version
you can't just type 1 point out because
it wants a specific format should be X .
X 2 X so it's looking for you know one .
0.0 that's the minimum Jerry don't want
you can set environmental variables a
splash screen version information and
different messages the user will see
we're just going to stick with the basic
settings for this tutorial
go ahead and make a pile now it's gonna
want you to save it i've already done it
now you notice down at the bottom here
it says compiler resources linking
wrapping what does all this mean
well it creates the resources out of the
jar file links it all together and then
wrapped into an exe and then it creates
are exe in this case test dot exe so we
go back here now we suddenly have test
dot exe and you run that well window
popped up and disappeared so fast you
couldn't really see it so we're going to
just copy CD paste there and you see
there's our test dot exe so only type
test
hello from java so you can you know just
perfect concept here you can actually
delete these and see that just test dot
exe is there and when you run it it runs
fine now you will know you will need to
have your end-user have a Java Runtime
environment installed you can't just
hand them the XC expected to run they
have to have java installed so that's
something to note this is brian and
today we covered a converting a jar file
into an exe hope you found this video
educational and entertaining thanks

Video Length: 05:09
Uploaded By: VoidRealms
View Count: 92,391

Related Software Products
Exe Wrapper
Exe Wrapper

Published By:
zysoftsupport

Description:
Exe Wrapper allows you to protect any Exe-file with its own password from non-authorized execution. And it can modify the main icon of the .exe file. If you mean to keep people out of your personal stuff, add or modify the icon of executable file, add fixed argument to the execution, then Exe Wrapper is your right selection. Password is stored directly in the Exe-file. It is extremely easy to add any password to a program. An attempt to run a program that's wrapped will result in ...


Related Videos
How to fix ".exe has stopped working" problem in windows7 32 bit
How to fix ".exe has stopped working" problem in windows7 32 bit

Just follow the steps this is easiest way and work for almost 99% Just go to Control Panel\All Control Panel Items\System then advanced system settings under advanced go to performance settings then data execution prevention then add .exe file (having problem) apply then ok have fun........
Video Length: 02:12
Uploaded By: Arpit Garg
View Count: 572,098

Create MSI package from Firefox setup program
Create MSI package from Firefox setup program

Howto convert the Firefox exe installer to an MSI package. This can be used for GPO distribution from Active Directory. The used wrapper is the free MSI Wrapper from www.exemsi.com.
Video Length: 05:27
Uploaded By: Bullzip
View Count: 52,291

Exe to msi Converter
Exe to msi Converter

This tutorial demonstrates how to use the GUI Script Recorder functionality in Exe to msi Converter tool to convert an Executable Installer to a Wndows Installer Package (msi). https://www.apreltech.com/ExetoMSIConverter
Video Length: 05:26
Uploaded By: apreltech
View Count: 37,039

Windows Logon Black Screen Issue FIX 2015 [Vista/7/8]
Windows Logon Black Screen Issue FIX 2015 [Vista/7/8]

In this video you'll learn how to fix the issue with the black screen that appears after you login!This problem usually has to do with either "explorer.exe" or "runonce.exe"(Run Once Wrapper)! 1) Windows Forum Here: http://answers.microsoft.com/en-us/windows/forum/windows_7-system/windows-7-stuck-on-black-screen-after-logon/cdfcc339-5724-471b-bfb7-bb98b53cdad9 Other Videos- 2) Temporary FIX (for some computers): ...
Video Length: 09:50
Uploaded By: artifexcaptus
View Count: 6,727

Create an Exe from a Jar File [UPDATED]
Create an Exe from a Jar File [UPDATED]

Today we learn how to create an executable file from our existing Java jar file. This video is an update from our previous exe to jar tutorial and addresses some of the issues we had. Download JSmooth here: http://jsmooth.sourceforge.net/ Updated Weather Library: https://goo.gl/9WV0MY You can follow me here: ------------------------------------------------------------------------------------ Email: ceo@teknikindustries.com Facebook ...
Video Length: 10:47
Uploaded By: VertexDigitalArts
View Count: 4,851

Wrapping an EXE installer into an MSI package
Wrapping an EXE installer into an MSI package

Fastest way to convert an EXE to an MSI is to wrap it, instead of repackaging. Repackaging is more powerful but it is way harder to do, thus takes more time and more packaging experience. Step by step tutorial: http://www.advancedinstaller.com/user-guide/tutorial-convert-exe-to-msi.html Advanced Installer, application designed for building MSI. APPX and AppV packages, deploying applications updates, repackaging, MSI/MST editing... br ...
Video Length: 01:43
Uploaded By: Advanced Installer
View Count: 1,948

Launch4j  - Creating exe files for Java apps
Launch4j - Creating exe files for Java apps

This is a short demo showing how to use launch4j to create an exe file, executable wrapper file, for you java app. I like to use this rather than batch files for desktop appliications. hr / bClosed Caption:/b basically launched 4G a rap such file an exe file bigger settings that you would know my composure through a batch file or through a script to go to their website here in describes it it just says basically exactly ...
Video Length: 06:47
Uploaded By: Brent Pathakis
View Count: 960

How to Generate a Java EXE Wrapper. aka, How to Output EXE for Java
How to Generate a Java EXE Wrapper. aka, How to Output EXE for Java

This video describes how to wrap a java program in an executable for easy distribution on the windows platform. For this purpose, we use Launch4j to do it. Created for the CS160 Classes at Colorado State University at the suggestion of the TA. Recommended for all curious students. Download Launch4j: http://launch4j.sourceforge.net/
Video Length: 06:07
Uploaded By: Caleb Begly
View Count: 833

How to create Firefox MSI from EXE for Deployment easy War with MSI Wrapper
How to create Firefox MSI from EXE for Deployment easy War with MSI Wrapper

How to Step-by-Step instruction you can find at www.sreckotech.com Article Link : http://www.sreckotech.com/?p=369
Video Length: 01:31
Uploaded By: IT Technology
View Count: 367

Copyright © 2025, Ivertech. All rights reserved.