Steps to execute BDK:
1.Open a notepad and type your java code, add the statement "package sunw.demo.foldername;" in the top of code.
2.Save your java file in bdk\demo\sunw\demo\name of folder.
3.Compile the java file.
4.Go to first demo and then create a manifest file with .mft extension (create mft file with name of the class)
5.open command prompt and then go to bdk\demo
6.type the following command "jar cfm ..\jars\manifestfilename.jar manifestfilename,mft sunw\demo\foldername\*.class"
7.You can check your jar file in Jars folder in bdk.
8.Right click on the jar file and click extract to folder.
9.you can go to folder and inside folder you find META-INF folder
10.open the folder and you can find MANIFEST.MFT file
11.open the file and check whether you have the statement "Java-Bean: True"
12.If you find the statement you have successfully done with most of the work
13.Now go to beanbox folder in bdk and click on run.
14.You can find three or four windows open infront of you.
15.check for your jar file name in the left most window and if found you have successfully completed the execution.
1.Open a notepad and type your java code, add the statement "package sunw.demo.foldername;" in the top of code.
2.Save your java file in bdk\demo\sunw\demo\name of folder.
3.Compile the java file.
4.Go to first demo and then create a manifest file with .mft extension (create mft file with name of the class)
5.open command prompt and then go to bdk\demo
6.type the following command "jar cfm ..\jars\manifestfilename.jar manifestfilename,mft sunw\demo\foldername\*.class"
7.You can check your jar file in Jars folder in bdk.
8.Right click on the jar file and click extract to folder.
9.you can go to folder and inside folder you find META-INF folder
10.open the folder and you can find MANIFEST.MFT file
11.open the file and check whether you have the statement "Java-Bean: True"
12.If you find the statement you have successfully done with most of the work
13.Now go to beanbox folder in bdk and click on run.
14.You can find three or four windows open infront of you.
15.check for your jar file name in the left most window and if found you have successfully completed the execution.
0 comments:
Post a Comment