portable windows version fails #4091
portable windows version fails #4091

I found problem. It was in the file 'core.bat'. See line

>set CLASSPATH=%APP_HOME%\lib\core.jar;%APP_HOME%\lib\json-simple-1.1.1.jar;%APP_HOME%\lib\jersey-servlet-1.17.1.jar;%APP_HOME%\lib\jersey-server-1.17.1.jar;%APP_HOME%\lib\jersey-core-1.17.1.jar;%APP_HOME%\lib\commons-cli-1.2.jar;%APP_HOME%\lib\commons-lang3-3.3.jar;%APP_HOME%\lib\fluent-hc-4.5.1.jar;%APP_HOME%\lib\jetty-servlet-8.1.13.v20130916.jar;%APP_HOME%\lib\winp-1.18.jar;%APP_HOME%\lib\jcifs-1.3.3.jar;%APP_HOME%\lib\shared.jar;%APP_HOME%\lib\slf4j-simple-1.7.6.jar;%APP_HOME%\lib\junit-4.10.jar;%APP_HOME%\lib\asm-3.1.jar;%APP_HOME%\lib\httpclient-4.5.1.jar;%APP_HOME%\lib\commons-logging-1.2.jar;%APP_HOME%\lib\jetty-security-8.1.13.v20130916.jar;%APP_HOME%\lib\cometd-java-annotations-2.7.0.jar;%APP_HOME%\lib\jackson-jaxrs-1.9.13.jar;%APP_HOME%\lib\cxf-bundle-jaxrs-2.7.7.jar;%APP_HOME%\lib\jersey-guice-1.17.1.jar;%APP_HOME%\lib\cometd-websocket-jetty-2.7.0.jar;%APP_HOME%\lib\slf4j-api-1.7.6.jar;%APP_HOME%\lib\hamcrest-core-1.1.jar;%APP_HOME%\lib\httpcore-4.4.3.jar;%APP_HOME%\lib\commons-codec-1.9.jar;%APP_HOME%\lib\jetty-server-8.1.13.v20130916.jar;%APP_HOME%\lib\javax.inject-1.jar;%APP_HOME%\lib\jsr250-api-1.0.jar;%APP_HOME%\lib\bayeux-api-2.7.0.jar;%APP_HOME%\lib\cometd-java-server-2.7.0.jar;%APP_HOME%\lib\jackson-core-asl-1.9.13.jar;%APP_HOME%\lib\jackson-mapper-asl-1.9.13.jar;%APP_HOME%\lib\woodstox-core-asl-4.2.0.jar;%APP_HOME%\lib\stax2-api-3.1.1.jar;%APP_HOME%\lib\xmlschema-core-2.0.3.jar;%APP_HOME%\lib\geronimo-javamail_1.4_spec-1.7.1.jar;%APP_HOME%\lib\wsdl4j-1.6.3.jar;%APP_HOME%\lib\jaxb-impl-2.1.13.jar;%APP_HOME%\lib\geronimo-servlet_3.0_spec-1.0.jar;%APP_HOME%\lib\javax.ws.rs-api-2.0-m10.jar;%APP_HOME%\lib\guice-3.0.jar;%APP_HOME%\lib\guice-servlet-3.0.jar;%APP_HOME%\lib\cometd-java-client-2.7.0.jar;%APP_HOME%\lib\jetty-websocket-7.6.13.v20130916.jar;%APP_HOME%\lib\cometd-java-common-2.7.0.jar;%APP_HOME%\lib\jetty-jmx-7.6.13.v20130916.jar;%APP_HOME%\lib\aopalliance-1.0.jar;%APP_HOME%\lib\cglib-2.2.1-v20090111.jar;%APP_HOME%\lib\jetty-client-7.6.13.v20130916.jar;%APP_HOME%\lib\javax.servlet-3.0.0.v201112011016.jar;%APP_HOME%\lib\jetty-continuation-8.1.13.v20130916.jar;%APP_HOME%\lib\jetty-http-8.1.13.v20130916.jar;%APP_HOME%\lib\jetty-io-8.1.13.v20130916.jar;%APP_HOME%\lib\jetty-util-8.1.13.v20130916.jar

In some cases this path is too long. I have used wildcard for a classpath setting. see 'Understanding class path wildcards' in the https://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html . Pay attention that you can run 'gradle clean  build' from root project directory before running 'gradle makePortableZip'

ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook