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

igluctl: add support for Java 9 #300

Closed
alexanderdean opened this issue Nov 28, 2017 · 6 comments
Closed

igluctl: add support for Java 9 #300

alexanderdean opened this issue Nov 28, 2017 · 6 comments
Assignees
Labels

Comments

@alexanderdean
Copy link
Member

https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j

@alexanderdean alexanderdean added this to the Release 8 Stamp TBC milestone Nov 28, 2017
@chuwy chuwy modified the milestones: Release 8 Stamp TBC, Release 7 Adrianople Dec 8, 2017
@chuwy
Copy link
Contributor

chuwy commented Dec 8, 2017

Bringing it forwards. @oguzhanunlu please test and close if it was already fixed.

@oguzhanunlu oguzhanunlu mentioned this issue Dec 11, 2017
32 tasks
@oguzhanunlu
Copy link
Member

Currently, scalac 2.12.4 doesn't support jvm 9 as target. Running scalac -target under igluctl/ gives following:

scalac error: Usage: -target:<target> where <target> choices are jvm-1.5, jvm-1.6, jvm-1.7, jvm-1.8 (default: jvm-1.8)

Assembled igluctl and tested few schemas using JRE 9 on localhost and they worked fine. De-scheduling this issue for now.

@oguzhanunlu oguzhanunlu removed this from the Release 7 Adrianople milestone Dec 12, 2017
@chuwy
Copy link
Contributor

chuwy commented Dec 12, 2017

Assembled igluctl and tested few schemas using JRE 9 on localhost and they worked fine. De-scheduling this issue for now.

It basically means that Java 9 support was added implicitly by some another ticket (most likely #287). Leaving open so far to check if anyone else will hit this issue.

@carabaestlein
Copy link

I ran into this last week trying to push schemas to S3 using igluctl (version 0.3.0):

Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I could only resolve it when I downgraded to Java 8.

@chuwy
Copy link
Contributor

chuwy commented Jan 5, 2018

Thanks @carabaestlein! @oguzhanunlu can we please do one of following:

  1. Figure out what brings javax/xml/bind and remove/update this dep
  2. Follow Proper long-term solution instructions on link @alexanderdean provided.

Also we'll have to test all subcommands next time.

@oguzhanunlu
Copy link
Member

Thanks for pointing this out @carabaestlein ! Alright @chuwy , I'll resolve it when I get back.

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

No branches or pull requests

4 participants