Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PureJavaComm Build for Java 1.6 32bit #99

Open
lholho opened this issue Mar 3, 2017 · 10 comments
Open

PureJavaComm Build for Java 1.6 32bit #99

lholho opened this issue Mar 3, 2017 · 10 comments

Comments

@lholho
Copy link

lholho commented Mar 3, 2017

I would like to use PJC. However, the projects I deal with are all Java 1.6 32bit based. I see that the latest maven builds are all on at least Java 7. Is it possible for someone to share a jar file of the latest builds that is compatible with Java 6? The last version I could find is 0.0.23 which I get an occassional exception which makes it unusable:

jtermios.windows.JTermiosImpl$Fail
at jtermios.windows.JTermiosImpl$Port.fail(JTermiosImpl.java:102)
at jtermios.windows.JTermiosImpl.select(JTermiosImpl.java:844)
at jtermios.JTermios.select(JTermios.java:439)
at purejavacomm.PureJavaSerialPort$3.run(PureJavaSerialPort.java:1226)
at java.lang.Thread.run(Unknown Source)

I am hoping that the latest build resolves the above. Replacing PJC with RXTX does not result in any errors.

@derikd
Copy link

derikd commented Mar 3, 2017 via email

@lholho
Copy link
Author

lholho commented Mar 3, 2017

Hi derikd

I am not a strong programmer (actually I am not a programmer). Hence, I am not sure how to get the sources compiled. Is it as simple as downloading the project, creating a new on within my eclipse workspace and type in "mvn package" at the command line. Thanks for any direction

@derikd
Copy link

derikd commented Mar 3, 2017 via email

@derikd
Copy link

derikd commented Mar 3, 2017 via email

@lholho
Copy link
Author

lholho commented Mar 3, 2017

Thanks for the file. A quick test shows that it loads. I will do a more thorough test later. Nevertheless, thank you for your help.

@WickedShell
Copy link

Is there a particular reason why the version distributed through maven requires Java 8? At some point someone recompiled 1.0.0 from Java 5 to Java 8 which breaks support for all the intermediate versions, of which Java 7 particularly still has a large deployed base.

@nyholku
Copy link
Owner

nyholku commented Jun 21, 2017

No, not really except I lost my Java 6 (MacOs) at some point so I have to recover that before I can compile against that. I'll try to do that at some point.

@WickedShell
Copy link

You can specify the -target 1.6 to specify the compile target even if you are on a newer JVM. This should allow you to release builds that are compatible even though you don't have a Java 6 machine anymore.

@nyholku
Copy link
Owner

nyholku commented Jun 21, 2017

True, forgot, I will try to get round to recompiling this at some point.

@WickedShell
Copy link

WickedShell commented Jun 21, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants