ADTPro / adtpro

Apple Disk Transfer ProDOS (ADTPro)
http://adtpro.com
GNU General Public License v2.0
132 stars 19 forks source link

Serial port issue revisited #61

Closed clh333 closed 5 years ago

clh333 commented 5 years ago

Trying to use ADTPro to communicate between a Win7x86_64 machine and an Apple IIgs for which I have no software. I have ADTPro version 2.0.3 downloaded and unzipped; I have Java RE 1.8.0_191 which is supposed to be 64-bit, and Java HotSpot client VM 21.195-b12, mixed mode.

The server starts when adtpro.bat is invoked. Although the IIgs is at a prompt and connected to the Wintel machine, serial to serial and with a null-modem between, and although Device Manager and a term program both recognize the serial port as COM4, the ADT server says there is either no serial port or the RXTX library is not installed or not findable.

Just to eliminate that possibility I copied everything from the libs folder into the folder where adtpro.bat resides and restarted the server. No success. The serial port is on a PCI-e card, SUNIX is the mfr, their driver 8.3.0.0 is in use.

Not sure how to proceed.

david-schmidt commented 5 years ago

RXTX library is not installed is a dead giveaway. One or the other of [Windows|Java] is not 64-bit. Output from my java -version: Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

clh333 commented 5 years ago

Thank you for your reply: Your diagnosis was correct; I was running a 32-bit version of Java.

When I began the process of installing ADTPro I discovered that it wanted a JRE. I had removed Java some time ago due to security concerns, so I fired up Firefox and searched for the Oracle site. The first thing I discovered is that Firefox wants nothing to do with Java any more. Undeterred I fired up IE 11, which obligingly downloaded Java.

What I did not realize is that my IE is also a 32-bit app and that by default it will go to and download the 32-bit version of Java. I uninstalled the 32-bit and found a manual download of the 64 bit version, then copied the libs files to my Java Home as instructed in install.txt:

NOTE: You MUST match your architecture. You can't install the i386 version on a 64-bit version of the JDK and vice-versa.

For a JDK installation:

Copy RXTXcomm.jar ---> \jre\lib\ext Copy rxtxSerial.dll ---> \jre\bin Copy rxtxParallel.dll ---> \jre\bin

Restarting ADTPro I was able to communicate with the IIgs and transfer files to it. The ADTPro client ran on the Apple. Unfortunately I was unable to save anything but the process is debugged and eventually the proper drive will arrive to allow saving files.

Thanks again for your help! -CH-

david-schmidt commented 5 years ago

Firefox likes Java just fine. You don't want to run it inside a browser. That much makes sense. You just want the execution environment on your local machine - which you did.

Also - I should really remove those installation instructions. You didn't really need to, and don't really want to move those files around. It will "just work" once your Java installation's bit width matches your OS.

Anyway - glad you got it going. It's all up from here.

clh333 commented 5 years ago

See attached. Thanks again for your help.

-CH-

From: David Schmidt [mailto:notifications@github.com] Sent: Monday, December 03, 2018 9:32 PM To: ADTPro/adtpro Cc: clh333; Author Subject: Re: [ADTPro/adtpro] Serial port issue revisited (#61)

Firefox likes Java just fine. You don't want to run it inside a browser. That much makes sense. You just want the execution environment on your local machine - which you did.

Also - I should really remove those installation instructions. You didn't really need, and don't really want do move those files around. It will "just work" once your Java installation's bit width matches your OS.

Anyway - glad you got it going. It's all up from here.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ADTPro/adtpro/issues/61#issuecomment-443947450 , or mute the thread https://github.com/notifications/unsubscribe-auth/Ardrrasy-Tpo_8hvPHYPVf1YbBhNBUBIks5u1d6qgaJpZM4Y_WXZ . https://github.com/notifications/beacon/ArdrrRLaUIgxxtTMossBpbg-Va3yYsvuks5u1d6qgaJpZM4Y_WXZ.gif


This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus