Saturday 22 February 2014

eclipse j2me plugin installation

  1. Download the EclipseME J2ME 0.7.0 plugin. Do not unzip this file.
    For example: c:\temp\
  2. Create a new workspace directory, for example: c:\workspace_j2me
  3. Start Eclipse and switch workspace, select menu: File | Switch Workspace
  4. Press the "Browse" button to select the created workspace c:\workspace_j2me

    Workspace launcher
  5. Eclipse will be restared and the workspace setup.
  6. Select menu: Help | Software Updates | Find and Install

    Eclipse install plugin step 1

for next step read from here


Thursday 20 February 2014

java mysql connection example easily

Connect to MySQL with JDBC driver

Here’s an example to show you how to connect to MySQL database via a JDBC driver. First, get a MySQL JDBC driver from here -MySQL JDBC Driver Download Here.

MySQL JDBC Driver  should be in same folder where you save your project.

1. Java JDBC connection example

Code snippets to use a JDBC driver to connect a MySQL database.
Connection conn = null;
conn = DriverManager.getConnection("jdbc:mysql://hostname:port/dbname","username", "password");


Java & MySQL - Basic connection and insert values (NetBeans)  


Wednesday 19 February 2014

how to create a health care system

A better healthcare system requires active participation by patients

information technology to Create a Health Care System
This website will help you measure your heart rate online, in beats per minute (BPM), without using an actual heart rate monitoring device. Based on your age and maximum heart rate (HRmax), it will also determine your heart rate training zone.
How to use?

To begin measuring your heart rate, follow these easy steps:

    Enter your age.
    With one hand, feel your pulse by placing your index and middle fingers on your lower neck, on either side of the windpipe. Press lightly until you feel a pulse.
    With the other hand, click the heart icon each time you feel a beat. You can also tap the spacebar.

Your average beats per minute (BPM) will be displayed and the indicator will show your current training zone.
What is heart rate?

Heart rate (or pulse) is the number of times your heart beats in a minute, typically expressed in beats per minute (BPM). Your heart rate increases or decreases based on your body's need to absorb oxygen. Your heart rate when sleeping is typically lower than when walking or running.
 Emotional changes can also increase your heart rate.

The heart rate is used by medical professionals to help in the diagnosis of medical conditions. It is also used by individuals who want to gain maximum efficiency from their training and monitor their fitness level.
How can I check my pulse?
Checking the pulse at the wrist Checking the pulse at the neck

You can feel the pulse by pressing lightly on a blood vessel close to the skin's surface. Always use your index and middle fingers, as your thumb's pulse might give incorrect readings. The two most common points for checking the pulse are the neck and the wrist.

To check the pulse at the neck, place your index and middle fingers on your lower neck, on either side of the windpipe. Press lightly until you feel a pulse.

To check the pulse at your wrist, turn the palm side of your hand facing up. Place your index and middle fingers of your opposite hand on your wrist, approximately one inch below the base of your hand. Press down until you feel the pulse.
What is the maximum heart rate (HRmax)?

The maximum heart rate (HRmax) is the maximum number of times your heart can beat in a minute, and it depends on your age. HRmax is important for determining your heart rate training zone.

The most common method to calculate the maximum heart rate is: HRmax = 220 - age
What is the resting heart rate (HRrest)?

The resting heart rate (HRrest) is the heart rate when you are resting. In adults, the resting heart rate is typically between 60 and 100 BPM.
Athletes may have a resting heart rate below 60 BPM. To measure your resting heart rate, you must have been resting for at least 10 minutes before taking your pulse.


Body mass index (BMI) is measure of body fat based on height and weight that applies to both adult men and women.

BMI Categories:

    Normal weight = 18.5-24.9
    Overweight = 25-29.9
    Obesity = BMI of 30 or greater

For My Body Mass Index

The Height you entered is 5 feet, 7 inches. The Weight you entered is 119.05 pounds.

Your Calculated BMI is: 18.6
we can make this small easy and small healthcare system


How to open a web page by using java code?

  java code to open a web page in program

public class mani {
public static void main(String args[])throws IOException{
Process p=Runtime.getRuntime().exec("cmd /c start");
catch(IOException e1) {System.out.println(e1);}


Java can be divided into 3 categories
1.core java
2.advanced java

core java and advanced java are the standard editions of java where as J2EE is the enterprise edition
witout completing core and advanced java u will not be able to understand J2EE

"Java" refers to both a language and a platform. The runtime and libraries that comprise the platform are based on the Java language and come in 3 flavors:

Java SE (Standard Edition): Formerly J2SE but renamed to Java Standard Edition when the Java 2 convention was dropped with the release of Java 5 (formerly J2SE 1.5). It contains a good all-around mix of general purpose libraries including JDBC (Java Database Connectivity), JNDI (Java Naming Directory Interface), RMI (Remove Method Invocation), AWT, and Swing.

Java EE (Enterprise Edition): Formerly J2EE (see above). It includes Java Standard Edition plus most of the other Java technologies including JavaMail, Activation, JAXB (Java API for XML Binding), Servlets, JSF (Java Server Faces), JMS (Java Messaging Service), EJB (Enterprise Java Beans), and others. Most of the APIs are very component-oriented and are intended to provide pluggable interfaces for business components to form robust, distributed internet applications.

Java ME (Micro Edition): Formerly J2ME. It includes most of Java SE and some additional APIs for handheld devices.

Java Enterprise Edition is based on Java, but includes a larger set of libraries than Java Standard Edition, which to most people is synonymous with the word "Java." Note that many of the technologies featured in Java Enterprise Edition are available separately and can be added to the Java Standard Edition platform as needed.

where does mysql store databases on windows 7


1) Locate the my.ini, which store in the MySQL installation folder.

For Example,

C:\Program Files\MySQL\MySQL Server 5.1\my.ini

2) Open the “my.ini” with our favor text editor.

#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.1/"

#Path to the database root
datadir="C:\ProgramData\MySQL\MySQL Server 5.1\data"

Find the “datadir”, this is the where does MySQL stored the data in Windows

now check
 C:\ProgramData\MySQL\MySQL Server 5.1\data 

This is Hidden file so go to view >> show hidden folder.

Take Emulator Screen Shots In Eclipse And Speech To Text Using API For Android

Android: Take Emulator Screen Shots in Eclipse


1.In eclipse, Open Windows > Show View > Others… (Shortcut Alt + Shift + Q, Q)

2.From the Show View dialog, open Android and select Devices.


This will open a new Devices view in your eclipse. Select the Emulator that is running currently and that you want to capture screen of and click Camera icon on right side.
This will open Device Screen Capture dialog. Press Refresh button to capture current screen and press Save to save it in PNG format on disk.

Android: Speech To Text using API

Step 1: Create Basic Android Project in Eclipse

Step 2: Change the Layout

Step 3: Android Java Code to trigger Speech to Text API

 learn full code here


Saturday 15 February 2014

digital publications from any document

  • Create a powerful digital publication from any document
  • Customize look and feel for a consistent brand image
  • Choose from a wide range of features for your publication
  • Impress everyone with a professional look!

Mobile-Ready | HTML5 support

We fall asleep with smartphones in our hands. We spend hours upon hours a week glued to our tablets.
FlippingBook publications support HTML5 and work on Apple and Android devices flawlessly. Your readers can check your digital catalog or scan a couple of online magazine articles while at lunch, on vacation or at a really dull meeting.

How it Works

convert blog to book easily and free

To convert blog to book easily use

What is this?

"BlogBooker: From your Blog to a Book."

BlogBooker produces a high-quality PDF Blog Book from all your blog's entries and comments.
Archives can be generated from any blog running on WordPress, LiveJournal (and derivatives) or Blogger.

The whole process takes about 3-4 minutes, depending on the size of your blog.

Blogbooker is a FREE service offered thanks to donations.

How does it work?
You submit an export file provided by your blog system to BlogBooker.
Your file is verified and all linked images are fetched.
Entries, Comments and Images are assembled into a high-quality PDF.
PDF is provided without any restriction and thus can be submitted for printing to third-parties.

How to export your blog?
Exporting your WordPress blog.
Exporting your Blogger blog.
LiveJournal export/backup is automatically handled.

You can print your BlogBook and make it real, read it more comfortably or share it with friends, publish it ...
The main purpose is to let you have an archive of your blog/journal. The PDF embeds all images and is consistent over time.

Examples :
Find out some public BlogBooks on the web.

list of popular chinese websites by category

Top Web Sites in China by category


Search Engines

    Google China:
    Tencent Soso:
    Yahoo China:

Web Portals

    Yahoo China:
    MSN China:

Weibo / Microblogging Sites

    Sina Weibo:
    Tencent Weibo:
    Sohu Weibo:
    163 Weibo:
    Baidu Microblog:

Social Network Sites (SNS)


Social Review Sites


Community Sites


Blogging Platforms/Services

    Sina Blog:
    163 Blog:
    Baidu Hi:

Business-to-consumer eCommerce / B2C Sites

    Taobao Tmall:
    Joyo Amazon:

Consumer-to-consumer eCommerce / C2C Sites


Business-to-business eCommerce / B2B Sites

    Alibaba China:



Group Buy Sites

    24quan :

Bookmarking / Sharing Services

    QQ Bookmark:
    Baidu Cang:

Video Sites


Wiki Sites

    Baidu Baike:

Q&A Sites

    Baidu Zhidao:
    Soso Wenwen:

Classifieds Sites

Travel Sites



    Google Maps:
    Baidu Map:
    Sogou Map:

Navigational Start Pages


Webmaster Communities/Sites

    CN Webmasters:

Gaming Sites

Jobs Sites


News Sites

    163 News:
    Sina News:

Financial News Sites

    Wall Street Journal:

Properties Sites


Web Mail Services Mail: Mail: Mail:
    QQ Mail:
    Yahoo Mail:
    Sina Mail:
    Sohu Mail:
    Sogou Mail:
    TOM Mail:

Network Security / Anti-virus Software

    Duba: www.duba. 

Top internet user

country              Internet users        Rank       Penetration               Rank

 China       568,192,066             1              42.3%                   102
 United States 254,295,536 2 81.0%                       28
 India 151,598,994 3 12.6%                     164
 Japan 100,684,474 4 79.1%                     33
 Brazil 99,357,737 5 49.8%                     86


What are Mutual Funds?

What are Mutual Funds?

Mutual funds are one of the most convenient way to invest! Mutual funds allow you to invest your money like an expert without being an expert!

Basically, mutual funds are a way for you to outsource the whole “investing” headache to people who are experts at investing. Simply put, you give the money you want to invest to people who are experts at investing. They will invest your money and make it grow & for this service they charge you a small fee!

Why invest in mutual funds?

Good investing generally requires a good knowledge about the market, economics, world politics and a lot of experience etc. Most people who want to invest their money, do not have the time to follow and learn all these things. For them “Mutual Funds” are the best option. You do not have to worry about anything when investing in Mutual Funds. You just have take out the money for investing. The Mutual Fund managers are people who will do all the work for you and make your money grow!

 Get all your "How To" answer HERE

investment knowledge for beginners

 Here we will share a simple story not a big deal just a simple story to make you understand on  investment knowledge 

Compounding is a very interesting and powerful thing. It has great rewards in store for people who invest when they are young. If you invest later in life you will not be able to make use of the great “power of compounding”!

Just to give you an example…assume that there are two people. Ram and Sham.

Ram invests Rs.5000 each month for 10 years from the time he became 25.

Sham invests Rs.5000 each month for “25 years” from the time he became “35”.

Note that Ram invested Rs.5000 monthly for only 10 years. Sham invested Rs.5000 monthly for 25 years! Now, who do you think will have more money when they are 60? Think about it a little! Who do you think will have more money at age 60?

Assuming that their money grows at 15% per year, at age 60 Ram will have Rs.4.6crores!!

Sham will have Rs.1.5 crores!!

A difference of Rs.3.1 crores!! Ha!!

Think about how foolish Sham has been. When he was young and 25 years of age, he had not got married yet. His expenses were low. He had a lot of money extra each month. He would generally blow it off on parties! Later he got married. His expenses grew! He had very little money to invest. Finally at the age of 35 when he again started to have some financial control, he decided to start investing. Since his friend had stared earlier than him, he tried to make up for it but investing for 25 years. (15 years more than Ram!) However, still he ended up loosing 3.1 crore!!

Don’t be a Sham! Don’t make this mistake.

If you are wondering how this can happen, you need to understand how compounding works. Suppose you invest Rs.100 today. It grows at 15% compounded rate every year, then next year you will get Rs.115 i.e. Rs.100 + Rs.15. Why Rs.15? Rs.15 is 15% of Rs.100!

Okay so now one year is passed. You have Rs.115. The next year you will get Rs.132. Why Rs.132?  Rs.115 + Rs.17. Why Rs.17 ? Because Rs.17 is 15% of Rs.115!

Now, try to use your imagination. Initially your money will grow at a slow rate. But once the money grows to a big amount the rate of growth will be very very very high! So, basically you need a lot of time to reach a very very high rate of growth. But once you reach the high growth rate then money will just start flowing! And if there is one thing the youth have, it is time!

In fact, you should invest as fast as possible. If you are not earning yet, invest your pocket money!

Saturday 8 February 2014

Set Up a Google Profile, Connect to Your Blog (Rel=“Me”)

 you’ll want to connect your site to your Google profile with the following process:
  1. Create a Google+ profile at (if you haven’t already). Be sure to upload a clear, distinguishable photo, and fill out the “About” tab with relevant professional and personal information.
  2. Add a Rel=”Me” tag to your author page that links to your Google profile, using the following snippet: <a class=“url fn author” rel=“me” href=>.
  3. Navigate to the “About” tab on your Google profile and click “edit profile” in the upper right-hand corner of your screen.
  4. In the right-hand column click on “contributor to” and add a custom link to your author page on your blog. To do this, type your “Blog Name” in the first line, and then add your author page URL in the second.
  5. Be sure that “anyone on the web” is selected in the “who can see this?” box, and click save.
  6. Double-check that the process worked. Make sure you’ve set up your three links correctly by running a sample through Google's rich snippet testing tool.

how to set up social commerce site free of cost for your business

How to set up a Facebook and Twitter store easily 

Setting up Social Commerce with Facebook  step by step free of cost.

How to add your store to Facebook using two site:


1.How to add your store to Facebook using EcWid

1. First please log in to your FB accout and open our application:   
  -  If you do not have Ecwid store on Facebook yet, click "Add store to your page" button,


 sign up using fb a/c or make account on ecwid to handle or manage category,product,inventory,pricing.

 You can also add your store to blogger also @


  2.How to add your store to Facebook using sellmojo

 SellMojo – India’s First S-commerce Store Maker

 sign up using fb a/c or make account on sellmojo to handle or manage category,product,inventory, of cost.

Friday 7 February 2014

Entrepreneur Ideas By Entrepreneur And How They Learn Entrepreneurship

Watch all entrepreneur video on  youtube for entrepreneur ideas 

Make account on to learn entrepreneurship.

If you have Entrepreneur Ideas and want  funding try  startupvillage.other best funding sources for small business is ANGEL INVESTORS ,VENTURE CAPITA, INCUBATOR,CROWD FUNDING.

Entrepreneurship Development  is done by watching and consulting or surrounding yourself with great  entrepreneur.entrepreneurial skill can be develop in anybody just try in real world,books and institute can only give virtual knowledge or idea but doing it in real world can help you lot to learn entrepreneurship.
                                                 Comfort Zone is the most dangerous place for entrepreneur move asap from your comfort zone and try to nailed out whatever you want.First thing in learning entrepreneurship
is very to find your to find your niche :-
  • Things you like / love
  • Things you are good at
  • Things that are important
  • Things you can be paid to do.
                                     Find what you love and what make you happy,what keeps you up at night? This Step is very important,If you have idea start your business asap don't waste your time someone's else might do it.Have passion for your work.Learn to handle or manage people.

                                    Whatever maybe your field or business try to make best compare to your competitor.Tell people why should they buy from you.Try to make best product possible this is more require than  marketing,Apple inc never sign a superstar or sportsperson for marketing because Apple is more than a brand.

                                   Than question came how to make money, Big company like Apple,Facebook  follow innovation  they just Try to make best product possible ever.Facebook doesn't know how to make money then in 2007 they hire Sheryl Sandberg .Before Facebook, Sandberg was V. President of Online Sales and Operations at Google.She very well know how make money from people by marketing.In online world People is equal to money.People serch lots of time how to make money online.It's very easy whatever you do online that's make you money. if you want to make money from link try recommended people hate to wait). Make money from text based advertisement.Try google adsense and Try affiliate marketing programs.Use for writing article to make money.Do freelancing jobs.This are short term trick  without hustle for making online money.
                                    First make community of customer than make money.Give lots of important to innovation  in your organization.

Learn :what is CPL,CPM,CPI,PPC in online advertising and marketing.
Read :read about entrepreneurs
Get Knowledge About :What is Differences Between Wholesalers,Distributors, and Retailers,supplier

Entrepreneur Ideas for future is E-commerce,Online Healthcare Business,Open things what people need in their day to day life, execute your idea as early as possible.

This post is by Entrepreneur  AAVIK KUMAR

Tuesday 4 February 2014

error: 26 - Error Locating Server/Instance Specified Solution With Explanation

Error: 26 - Error Locating Server/Instance Specified

If you are facing problem with connecting to SQL Server through ur application. And getting following error

"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

Step 1.

Check if you can login to your SQL Server Managed Studio using ur user Name and pwd.

Example using ur sa account which is ur default account

If not the then follow following steps

Change the authentication mode to mixed from Windows, Following are the steps to be followed.

In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.

On the Security page, under Server authentication, select the new server authentication mode "SQL Server and Windows Authentication mode", and then click OK.

In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server

To Enable the sa login.

In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.

On the General page, you might have to create and confirm a password for the sa login.

On the Status page, in the Login section, click Enabled, and then click OK.

Step 2.
Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition

You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps:

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Remote Connections, click Local and remote connections, click the appropriate protocol to enable for your environment, and then click Apply.

Note Click OK when you receive the following message: <div>Changes to Connection Settings will not take effect until you restart the Database Engine service.</div>
On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Service, click Stop, wait until the MSSQLSERVER service stops, and then click Start to restart the MSSQLSERVER service.

Step 3.
Enable the SQL Server Browser service

If you are running SQL Server 2005 by using an instance name and you are not using a specific TCP/IP port number in your connection string, you must enable the SQL Server Browser service to allow for remote connections. For example, SQL Server 2005 Express is installed with a default instance name of Computer Name\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of SQL Server 2005 you are running. To enable the SQL Server Browser service, follow these steps.

Important These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
On the Surface Area Configuration for Services and Connections page, click SQL Server Browser, click Automatic for Startup type, and then click Apply.

Note When you click the Automatic option, the SQL Server Browser service starts automatically every time that you start Microsoft Windows.
Click Start, and then click OK.

Note When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:

SQL Server Browser Service
Connecting to the SQL Server Database Engine
Client Network Configuration

Step 4.
Create exceptions in Windows Firewall

These steps apply to the version of Windows Firewall that is included in Windows XP Service Pack 2 (SP2) and in Windows Server 2003. If you are using a different firewall system, see your firewall documentation for more information.

If you are running a firewall on the computer that is running SQL Server 2005, external connections to SQL Server 2005 will be blocked unless SQL Server 2005 and the SQL Server Browser service can communicate through the firewall. You must create an exception for each instance of SQL Server 2005 that you want to accept remote connections and an exception for the SQL Server Browser service.

SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps:

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
In SQL Server Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.
On the SQL Server Browser Properties page, click the Advanced tab, locate the instance ID in the property list, and then click OK.

To open Windows Firewall, click Start, click Run, type firewall.cpl, and then click OK

Step 5.
Create an exception for SQL Server 2005 in Windows Firewall

To create an exception for SQL Server 2005 in Windows Firewall, follow these steps:

In Windows Firewall, click the Exceptions tab, and then click Add Program.
In the Add a Program window, click Browse.
Click the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe executable program, click Open, and then click OK.

Note The path may be different depending on where SQL Server 2005 is installed. MSSQL.1 is a placeholder for the instance ID that you obtained in step 3 of the previous procedure.
Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception.

Create an exception for the SQL Server Browser service in Windows Firewall

To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps:

In Windows Firewall, click the Exceptions tab, and then click Add Program.
In the Add a Program window, click Browse.
Click the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, click Open, and then click OK

convert Java to executable Jar file -JAVA TO EXE

Many newbie have this question how to convert java program to executable file?

To get executable .exe file we must convert .class file to .jar

How to convert .class file to .jar
Create the JAR file. The format of the command line for creating the JAR file looks like this:
"jar cf yourjarfilename manifest.txt Smile.class"
  • The "jar" portion refers to the jar.exe program, which compiles the JAR file.
  • The "c" option specifies that you want to create a JAR file
  • The "f" option means that you want to specify the filename.
  • The "yourjarfilename" portion is where you should type the name that you want the file to have.
  • For example, you might type "jar cf myjar manifest.txt myclass.class." This would create a JAR file with the filename "myjar.jar" which would include the files "manifest.txt" and "Smile.class."
  • If you add directories to the JAR file, the jar.exe utility will automatically add their contents

 If you want to create executable .exe  file of your .class file of java then you have to convert it into
jar (Java ARchive) file this is most important step.

how to create manifest file for an Executable jar file  

Create a manifest file. Save manifest file using the extension .txt using the text editor and input the following:
  • Main-Class: Smile(or whatever your file's name is )

Creating an Executable jar File By Software           


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.

Once you have downloaded JSmooth, open the application.
Specify the skeleton of the executable application. In my case I want to create a Console wrapper that will run on the command prompt console.
Give the full path to the .jar file by selecting the option “Use an embedded jar”. Go to Application tab and set the Main Class file. Put the same name which you had used in Eclipse project as Main Class.
Go to the Executable tab and set Executable Binary file path. Mention the full path with name of the .exe file that you want to be created. One can also provide an icon for the executable file.
Now, go to the JVM Selection tab. Specify the minimum and maximum JVM versions required to run your application.
Finally, go to the Project menu and compile the file. If there are no compilation errors then you should see the .exe file generated in the specified directory.


Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size. The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found
use launch4j to package up the jar into an EXE.
Although launch4j has a command-line interface, I first used the GUI.
The first screen I filled in looked similar to this:

I tried to just save the EXE at that point, but I then needed to specify a minimum Java version on this tab:

output file heyguys.exe is your output file name

Java Launcher
 Java Launcher run Java applications and applets by double-clicking class files; view class source codes and class hierarchies in graphic format by right-clicking;


JexePack is a command line tool (great for automated scripting) that allows you to package your Java application (class files), optionally along with its resources (like GIF/JPG/TXT/etc), into a single compressed 32-bit Windows EXE, which runs using Sun's Java Runtime Environment. Both console and windowed applications are supported.


A LAX Executable is an executable file that is used to launch a Java application on any LaunchAnywhere-compatible platform. Currently, InstallAnywhere creates LaunchAnywheres on Windows 95/98/NT/2000/Me, Solaris, Linux, and Mac OS X. LaunchAnywhere enables end-users to double-click on an icon (Windows or Mac OS X) or type a single command (UNIX) to start a Java application

Creating a jar File in Command Prompt

  1. Start Command Prompt.
  2. Navigate to the folder that holds your class files:
    C:\>cd \mywork
  3. Set path to include JDK’s bin.  For example:
    C:\mywork> path c:\Program Files\Java\jdk1.7.0_25\bin;%path%
  4. Compile your class(es):
    C:\mywork> javac *.java
  5. Create a manifest file and your jar file:
    C:\mywork> echo Main-Class: Craps >manifest.txt
    C:\mywork> jar cvfm Craps.jar manifest.txt *.class
    C:\mywork> jar cvfe Craps.jar Craps *.class
  6. Test your jar:
    C:\mywork> Craps.jar
    C:\mywork> java -jar Craps.jar

Creating a jar File in Eclipse

 In Eclipse Help contents, expand "Java development user guide" ==> "Tasks" ==> "Creating JAR files."  Follow the instructions for "Creating a new JAR file" or "Creating a new runnable JAR file." The JAR File and Runnable JAR File commands are for some reason located under the File menu: click on Export... and expand the Java node.

Creating a jar File in JCreator

You can configure a "tool" that will automate the jar creation process.  You only need to do it once.
  1. Click on Configure/Options.
  2. Click on Tools in the left colu
  3. n.
  4. Click New, and choose Create Jar file.
  5. Click on the newly created entry Create Jar File in the left column under Tools.
  6. Edit the middle line labeled Arguments: it should have
    cvfm $[PrjName].jar manifest.txt *.class
  7. Click OK.
Now set up a project for your program, create a manifest file manifest.txt or copy and edit an existing one.  Place manifest.txt in the same folder where the .class files go.  Under View/Toolbars check the Tools toolbar.  Click on the corresponding tool button or press Ctrl-1 (or Ctrl-n if this is the n-th tool) to run the Create Jar File tool.
With Windows Explorer, go to the jar file that you just created and double click on it to run.