Link to home
Start Free TrialLog in
Avatar of suprapto45
suprapto45Flag for Singapore

asked on

BAT file deployment

Hi,

I am currently creating desktop application using SWING (J2SE). Now, it should be deployed somewhere next week.

1. I think that it would be best to use .bat file to execute my java in another windows machine. Am I right? If so, how can the .bat file check whether is there any JRE installed or not? Sorry, not so experienced in J2SE.
2. Do you have any best script (.bat) file that I can look and learn on?
3. The target machine is on Windows and Mac OS. Will there be any specific things to deploy this J2SE in Mac OS? I used Linux but not Mac OS. If this point #3 is too broad, let me know and I will separate it on another question.

Thanks.
David
SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of suprapto45

ASKER

Thanks CEHJ,

I will be offline soon and check this by tomorrow. In the meantime, can you tell me how the Web Start works? Does the user need to install the Web Start as well? How can I send my app to his / her Web Start?

Thanks
David
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>Does the user need to install the Web Start as well?

No - it comes with the JRE
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

Thanks all folks.

>>"www.izforge.com/izpack/"
That is a very good idea. Let me have a try and look ;).

Thanks again.
David
So,

My concern about Mac OS is that regarding Mac specific features. For example, in Linux, you have to ensure that you have the right permission to run the program otherwise it won't run. Is there any constraint(s) in Mac OS? I never used Mac so I am not really sure about this.

David
shouldn't be any issues with the mac
Okay,

Thanks. I will check that installer first and get back to you all.

Thanks
David
Why do you need an installer?
CEHJ,

>>"Why do you need an installer?"
Looking at the URL provided earlier i.e. "www.izforge.com/izpack/", it is really not a bad idea to create some sort of exe where you can double click on it and it runs.

Please let me know if you have any idea / opinion against it and why.

David
>>it is really not a bad idea to create some sort of exe where you can double click on it and it runs.

An exe is platform-specific and anyhow that's the case with a Web Start link/jar
Ok,

Thanks. I will have a look at all of these soon.

David
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
BTW Izpack creates an installer JAR and not an EXE....
Thank you.

I think that I will give izPack a try for my application.

Thanks again and sorry for any delay (been quite busy recently)
David
:-)