Title: Missing class com/google/common/base/CharMatcher
Type: Severity: critical
Components: Core Versions: Jython 2.7
Milestone: Jython 2.7.2
Status: closed Resolution: duplicate
Dependencies: Superseder: Installer contains dependencies unshaded (Java 8)
View: 2806
Assigned To: Nosy List: jeff.allen, wfouche2
Priority: normal Keywords:

Created on 2019-09-26.09:50:11 by wfouche2, last changed 2019-11-01.22:41:49 by jeff.allen.

msg12660 (view) Author: Werner Fouché (wfouche2) Date: 2019-09-26.09:50:11
jython-standalone.jar build from source at change displays the following error at startup:

            Jython 2.7.2a1+
               Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/CharMatcher
                       at org.python.core.Py.fileSystemEncode(
                       at org.python.core.PySystemState.initRegistry(
                       at org.python.core.PySystemState.doInitialize(
                       at org.python.core.PySystemState.initialize(
                       at org.python.core.PySystemState.initialize(
                       at org.python.core.PySystemState.initialize(
                       at org.python.core.PySystemState.initialize(
                       at org.python.util.jython.main(
               Caused by: java.lang.ClassNotFoundException:
                       at java.lang.ClassLoader.loadClass(
                       at sun.misc.Launcher$AppClassLoader.loadClass(
                       at java.lang.ClassLoader.loadClass(
                       ... 8 more
msg12682 (view) Author: Jeff Allen (jeff.allen) Date: 2019-10-05.18:12:36
Thanks for trying this out. I think you may have beaten me to the discovery of the same bug as in #2806. Is this reproduced simply on launching (looks that way), e.g.:

java -jar .\kit\jython-standalone.jar

In which case, I fixed it.
msg12698 (view) Author: Werner Fouché (wfouche2) Date: 2019-10-07.06:10:24
> java -jar .\kit\jython-standalone.jar

That's exactly how I tested Jython. Thanks for resolving the issue.
Date User Action Args
2019-11-01 22:41:49jeff.allensetpriority: normal
status: open -> closed
superseder: Installer contains dependencies unshaded (Java 8)
resolution: accepted -> duplicate
2019-10-07 06:10:24wfouche2setmessages: + msg12698
2019-10-05 18:12:36jeff.allensetresolution: accepted
messages: + msg12682
nosy: + jeff.allen
2019-09-26 09:50:11wfouche2create