-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Error while building ScrollView. #1289
Comments
I encountered the same problem in Mac OS High Sierra 10.13 |
It seems that using JDK 8 can solve this problem. @MehulBhardwaj91 |
Facing same in java 10 |
@toxic-0518 : Since this was optional, I went ahead with the training without it. Didn't try it with JDK 8. |
Thanks, i thought its necessary, i have made it work by install JDK 8 and now training is in process. |
Can somebody familiar with java make it work on various Java version (8-10)? |
I think that scrollview should be disabled by default. |
well it is build just on user request e.g. user want it. But build seems to work only on old java. So we need to modernize it as we did with cpp code. |
Of course, changing the default will not solve the problem, but I still think we should change it, because scrollview is not necessary for most users. |
[Zdenko, please read my above comment] https://www.logicbig.com/tutorials/core-java-tutorial/modules/root-modules.html |
@amitdo : above mentioned issue has nothing to do with default building setting --enable-graphics. |
Okay :-) |
Attached is the fix, which is to download the required |
Thanks nguyenq! |
Some distros have old java versions. Will ScrollView still work with or without that jar? |
I tested it with java-1_8_0-openjdk and it worked for me. |
Please update the wiki. |
done |
Environment
After running
make ScrollView.jar
I get the following error
./com/google/scrollview/ui/SVImageHandler.java:19: error: package javax.xml.bind is not visible import javax.xml.bind.DatatypeConverter; ^ (package javax.xml.bind is declared in module java.xml.bind, which is not in the module graph)
It seems that in Java 9 this module has been deprecated which is most probably causing this error. I have looked online but can't find a way around this. I am not a Java expert so I don't know what's the possible solution to this.
But this is definitely something that should be looked into and other deprecated packages as well.
The text was updated successfully, but these errors were encountered: