[Coco] Compiling and Starting DriveWire 4 with Java 17
Rocky Hill
qbancoffee at yahoo.com
Tue Jan 3 09:43:33 EST 2023
Hi Bill,
The one compiled from the sourceforge source says that it's 4.3.4F and the de-compiled one says that it's 4.09c
4.3.4F seems to be buggy and it crashes when ever I try to insert a disk. I looked through the code and it seems that there is a lot of unimplemented stuff so that very well could be the developers edition.
4.09c is from the same sourceforge repo and it's the one that I've been using the whole time.
I followed the link from your site and it does point to the same repo and the download link says it's for the latest version and when started, DriveWire reports a version of 4.3.30 .
This one has a slightly different UI and it seems more polished. I don't sees source files for this version so maybe I should try and de-compile this one as well and place it in the repo along with the others.....
Pedro
On Tuesday, January 3, 2023 at 04:50:37 AM EST, Bill Pierce via Coco <coco at maltedmedia.com> wrote:
Pedro, the screenshots you have on GitHub are the same as the last version of DW4. All DW4 versions Aaron released had the same UI.
You may have been running DW4 "Developer's Edition", which does have a different UI. It was never released and only a few of us had it to beta test. I finally released it on my site a few years ago. It is also in the repo as a separate build.
What version is your DW4? Just click "Help" on the menu bar and click "Version" (I think).
Bill P.
-----Original Message-----
From: Rocky Hill via Coco <coco at maltedmedia.com>
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Cc: Rocky Hill <qbancoffee at yahoo.com>
Sent: Mon, Jan 2, 2023 6:07 pm
Subject: Re: [Coco] Compiling and Starting DriveWire 4 with Java 17
Last night and today I played some more with DriveWire4 Java and I ended up de-compiling the available DWUI.jar that everyone knows and fixed up the sources enough so that it would compile with OpenJDK 17.
I decided to include the netbeans project for the decompiled vesion in the repository I had previously made so that all can have a netbeans project with the sourceforge source and a netbeans project with the decompiled source. I fixed some array index out of bounds errors that the sever had when starting up and it seems to behaving on Windows 10 64 bit and linux 64 bit.
I figured that most people that would want to run it are using Windows so I added a release for Windows 64 bit. The release includes a Zulu OpenJDK 17 JRE with the appropriate RXTX serial library so that nothing has to be installed. In theory all you have to do is download the release, unzip it and double click on "DriveWire4_win64.bat"
I ran it in a Windows 10 VM but it would be nice for someone else to actually download and test it.
If you run it, please let me know if it works ...
Anyhow, here is the link to the github repo, scroll down and you'll see a link to download the Windows 64 bit release.
If you scroll down a little further you'll see some screenshots as well.
https://github.com/qbancoffee/drivewire4
Thanks,
Pedro
On Friday, December 30, 2022 at 11:51:13 PM EST, Rocky Hill <qbancoffee at yahoo.com> wrote:
Hello everybody,
I decided that I wanted to get DriveWire 4 running with a newer version of java so after about a day of messing around with the files, I successfully compiled and ran DriveWire 4 using OpenJDK 17. I uploaded a video showing the steps I took so that others could do it as well.
I used the source files from https://sourceforge.net/projects/drivewireserver/
Although running, the UI is very different from the UI that one gets when using the compiled version from the repo so I'm thinking I either broke something along the way or maybe the version of the available source files doesn't match the version used to create the available executable.
I did this on an x86 linux machine but the process should be pretty much the same on Windows or Mac,you just have to make sure you use the correct libraries.
Anyhow, here is the video, I hope it's helpful to someone and maybe someone can see where I made a mistake and let me know.
Thanks,
Pedro
https://youtu.be/7fjNQZ2uRJI
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list