Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2005

Tip: Looking for answers? Try searching our database.

Installer for Java Communication-API?

Thread view: 
Thomas Pototschnig - 02 May 2005 08:37 GMT
Hi NG,

I have written a small terminal program which uses the java communication
API. Unfortunately the com API isn't part of the standard-java-installation
and has to be installed seperately. More unfortunately is that a lot of
people who will use this program will have troubles installing the API. The
solution would be to write a program which copies the files to the right
location.

Does anyone know whether there is a program which does this?

Thx in advance

Thomas Pototschnig
Ross Bamford - 02 May 2005 11:10 GMT
> Hi NG,
>
[quoted text clipped - 4 lines]
> solution would be to write a program which copies the files to the right
> location.

Assuming you do mean the Sun API, read this:

http://java.sun.com/products/javacomm/COMM2.0.3_license.txt

Esp the supplemental terms near the bottom, relating to redistribution,
and then consider packaging the Jar with your program.

Cheers,
Ross

Signature

  [Ross A. Bamford]     [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain

Knute Johnson - 02 May 2005 16:20 GMT
>>Hi NG,
>>
[quoted text clipped - 14 lines]
> Cheers,
> Ross

That just says that you have to distribute the whole package, not that
you can't make an installer for it.

Signature

Knute Johnson
email s/nospam/knute/

Ross Bamford - 02 May 2005 16:58 GMT
> >>Hi NG,
> >>
[quoted text clipped - 17 lines]
> That just says that you have to distribute the whole package, not that
> you can't make an installer for it.

I assume OP means instead of the user having to download the API and
install it separately, he wanted it installed transparently with his
program, so why not just package it, rather than writing a separate
installer?

I have no experience with Java Comm API specifically but can't imagine
it has any special setup requirements?

Signature

  [Ross A. Bamford]     [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain

Knute Johnson - 03 May 2005 03:55 GMT
>>>>Hi NG,
>>>>
[quoted text clipped - 25 lines]
> I have no experience with Java Comm API specifically but can't imagine
> it has any special setup requirements?

It does.  You have to install a Winblows dll and a properties file in
addition to the jar library.

Signature

Knute Johnson
email s/nospam/knute/

Ross Bamford - 03 May 2005 10:34 GMT
> >>>>Hi NG,
> >>>>
[quoted text clipped - 28 lines]
> It does.  You have to install a Winblows dll and a properties file in
> addition to the jar library.

Ahh, well, that's that then. Do ignore me :)

Signature

  [Ross A. Bamford]     [ross AT the.website.domain]
Roscopeco Open Tech ++ Open Source + Java + Apache + CMF
http://www.roscopec0.f9.co.uk/ + info@the.website.domain

Dale King - 25 May 2005 05:04 GMT
>> I have no experience with Java Comm API specifically but can't imagine
>> it has any special setup requirements?
>
> It does.  You have to install a Winblows dll and a properties file in
> addition to the jar library.

And it is this properties file that is so stupid. This file makes it
very difficult to use the Java Comm API from a WebStart app.

All it says is which is the main class to load. They could have put that
into the jar file using the Service Provdier portion of the Jar File
Spec. But of course the Java Comm API came out before that convention
was added to the Jar spec. The Java Comm API came out 8 years ago and
Sun has refused to touch the piece of junk since.

I say to forget the JavaComm API and use RXTX instead.
Signature

 Dale King



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.