Hello Friends,
I want to increase the Heap Space for my application.I have tried the following two options.It doesn't work after creating the Jar file.
-------------------------------------------------------------------
1] Process p = Runtime.getRuntime().exec("java -Xms32m -Xmx1024m WelCome");
I have written one class naming as StarrApp which contains the above Statement.I have added this(StratApp) class name in the Manifest file.But it does not work while creating jar.It don't get the WelCome file.Can you tell me how to use the WelCome class file within the Jar file in the above statement.
-------------------------------------------------------------------
2] Desktop desk=Desktop.getDesktop();
desk.open(new File("Test.bat"));
I have written above two statement in the StartApp.
Test.bat file contains the follwing statement.
java -Xms32m -Xmx1024m WelCome
After creating the jar file it doesn't work.
But it is also not working .
-------------------------------------------------------------------
Please let know the Solution ASAP.
Thanks and Regards,
Pradip
padwal_pradip@yahoo.com
pradip_padwal_coep@yahoo.com
I want to increase the Heap Space for my application.I have tried the following two options.It doesn't work after creating the Jar file.
-------------------------------------------------------------------
1] Process p = Runtime.getRuntime().exec("java -Xms32m -Xmx1024m WelCome");
I have written one class naming as StarrApp which contains the above Statement.I have added this(StratApp) class name in the Manifest file.But it does not work while creating jar.It don't get the WelCome file.Can you tell me how to use the WelCome class file within the Jar file in the above statement.
-------------------------------------------------------------------
2] Desktop desk=Desktop.getDesktop();
desk.open(new File("Test.bat"));
I have written above two statement in the StartApp.
Test.bat file contains the follwing statement.
java -Xms32m -Xmx1024m WelCome
After creating the jar file it doesn't work.
But it is also not working .
-------------------------------------------------------------------
Please let know the Solution ASAP.
Thanks and Regards,
Pradip
padwal_pradip@yahoo.com
pradip_padwal_coep@yahoo.com