prerelase of icedtea-web 1.8

Jim Douglas jimdouglas at mac.com
Tue Feb 26 15:14:06 UTC 2019


I’ve been posting my ongoing work in process; it’s quite possible that some of what I’ve added isn’t strictly necessary.

What are “native launchers”?

> On Feb 26, 2019, at 6:48 AM, Jiri Vanek <jvanek at redhat.com> wrote:
> 
> On 2/26/19 3:29 PM, Jim Douglas wrote:
>> Some of that was stray debug and some was due to my special requirements. Our ClassLoader
>> reflectively checks whether the JNLPClassLoader
>> was "com.sun.jnlp.JNLPClassLoader” or "net.sourceforge.jnlp.runtime.JNLPClassLoader"; not all
>> applications will need to do that. We’re also sorting out some details of launching apps that use
>> JxBrowser, which adds a few more complications. This is where we are at the moment, with stray
>> debugging removed and with more work done to get JxBrowser working:
>> 
>> 
>> scrappy:bin jimdouglas$ diff itw-modularjdk.args.bak itw-modularjdk.args
>> 28a29,43
>>> --illegal-access=warn 
>>>  
>>> -Djxbrowser.ipc.external=true
>>> -Djxbrowser.browser.type=LIGHTWEIGHT
> 
> All except ^ those ^ three are usptreamable.
> 
>>>  
>>> --add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>> --add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>> --add-opens=java.base/java.lang=ALL-UNNAMED 
>>> --add-opens=java.desktop/sun.awt=ALL-UNNAMED 
>>> --add-opens=java.desktop/java.awt=ALL-UNNAMED 
>>> --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED 
>>> --add-opens=java.base/java.net <http://java.net>=ALL-UNNAMED 
>>> --add-opens=java.desktop/sun.awt=ALL-UNNAMED
>>> --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED 
> 
> But I do not understand the rest you are writing. you should not need the repalced paths. And I
> posted you a way how to do that, also that you should try the native launchers whcih support
> java_home and java from path. also I sugested I can add java_home suport to sh launcher if necessary.
> 
> However, the conversation do not seems to go that way. What Am Imissing?
>>> --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED 
>> scrappy:bin jimdouglas$ diff javaws.sh.bak javaws.sh
>> 4,6c4,6
>> < JRE=/usr/lib/jvm/java-1.8.0-openjdk/jre
>> < JAVA=$JRE/bin/java
>> <
>> LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/home/jvanek/icedtea-web-image/share/icedtea-web/javaws.jar:/home/jvanek/icedtea-web-image/share/icedtea-web/plugin.jar:/home/jvanek/icedtea-web-image/share/icedtea-web/jsobject.jar:/usr/share/java/js.jar:/usr/share/java/tagsoup.jar:/home/jvanek/hg/itw-windowsShortcuts/mslinks.jar'
>> ---
>>> #JRE=/usr/lib/jvm/java-1.8.0-openjdk/jre
>>> JAVA=/Users/jimdouglas/Documents/jdk-11.0.2.jdk/Contents/Home/bin/java
>>> LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar'
>> 9,11c9,11
>> < BINARY_LOCATION=/home/jvanek/icedtea-web-image/bin/javaws.sh
>> < SPLASH_LOCATION=/home/jvanek/icedtea-web-image/share/icedtea-web/javaws_splash.png
>> < RUN_ARGS_LOCATION=//home/jvanek/icedtea-web-image/bin/itw-modularjdk.args
>> ---
>>> BINARY_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/bin/javaws.sh
>>> SPLASH_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws_splash.png
>>> RUN_ARGS_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/bin/itw-modularjdk.args
>> 13c13
>> < CP=$JRE/lib/rt.jar:$JRE/lib/jfxrt.jar
>> ---
>>> #CP=$JRE/lib/rt.jar:$JRE/lib/jfxrt.jar
>> 16,18c16,18
>> < NETX_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/javaws.jar
>> < PLUGIN_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/plugin.jar
>> < JSOBJECT_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/jsobject.jar
>> ---
>>> NETX_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar
>>> PLUGIN_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar
>>> JSOBJECT_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar
>> 22c22
>> < #MSLINKS_JAR=/home/jvanek/hg/itw-windowsShortcuts/mslinks.jar
>> ---
>>> #MSLINKS_JAR=/Users/jimdouglas/Documents/hg/itw-windowsShortcuts/mslinks.jar
>> scrappy:bin jimdouglas$ 
>> 
>> 
>>> On Feb 26, 2019, at 2:18 AM, Jiri Vanek <jvanek at redhat.com <mailto:jvanek at redhat.com>> wrote:
>>> 
>>> Ok. So what I read between lines:
>>> 
>>>> --add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>>> --add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>> 
>>> 
>>> is likely bug. I'm wondering why it is missing.  Are really both necessary? Will add it, once we
>>> confirm all other issues.
>>> 
>>> - ITW was not found
>>> - java was nto found
>>> 
>>> 
>>> java location is an issue which is hard to fix in shell.  In native launchers we support java_home
>>> and jre from path. Do you mind to try native launchers?
>>> I'm wondering if java_home suport to shell launchers, as is in bat launchers, is good idea.  The
>>> goal of ITW is to move to native launchers, as it is pain to maintain duplicate .sh and .bat
>>> codebases.
>>> In meantime, you can use deployment.jre.dir=path/to/your/preffered/jre  proeprty in
>>> $XDGCONFIG_HOME/icedtea-web/deployment.properties, where  XDGCONFIG_HOME is usually $HOME/.config///
>>> or global /etc/.java/.deploy/deployment.properties (see the shell launcher for all those details)
>>> 
>>> Itw home is a bit of mistery. You can see, that it decides whether it is distribution build or
>>> bundeld build by location of javaws.jar (in older releases netx.jar). In your case, the if [ ! f
>>> ..javws.jat ] failed, or teh detection of PORTABLE_ITW_HOME failed.
>>> You can enforce the ITW location by setting ITW_HOME.
>>> 
>>> Can you please try  to debug what went wrong? Running with -x should gice you answers. Can you
>>> please try with ITW_HOME=/location/od/your/itw?
>>> 
>>> The last line of your patch -  # exec "${COMMAND[@]}" - is mystery for me.
>>> 
>>> 
>>> 
>>> 
>>> "OpenJDK 11 + OpenJFX 11"
>>> opendk8+openjfx  - should run out of the box
>>> opendk11  - should run out of the box
>>> 
>>> Uff... jdk11+fx is unknown world. I belive the only necessary thing is to add fx modules/jars to
>>> modulepath/(boot)cp and maybe to add modular -add-whatever=necessary. Depends on your jdk. OpenJFX
>>> can be obtained as compelte jdk, so it can be even on default module path....
>>> 
>>> 
>>> Sorry for not exact answers, this is hard to solve remotely. Thanx for any colaboration.
>>> 
>>> J.
>>> 
>>> 
>>> 
>>> On 2/25/19 8:57 PM, Jim Douglas wrote:
>>>> Ok, here are my local changes to get a minimal JNLP to load in macOS with a slightly hacked
>>>> javaws.sh with our custom class loader, and generating a desktop icon with my macOS-specific
>>>> xdg-desktop-icon script.
>>>> 
>>>> Question: Are there any special tricks to make IcedTea-Web launch an app that depends on OpenJDK 11
>>>> + OpenJFX 11?
>>>> 
>>>> scrappy:bin jimdouglas$ pwd
>>>> /Users/jimdouglas/Documents/icedtea-web-image/bin
>>>> scrappy:bin jimdouglas$ diff itw-modularjdk.args.bak itw-modularjdk.args
>>>> 28a29,31
>>>>> --add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>>>> --add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>>>>  
>>>> scrappy:bin jimdouglas$ diff javaws.sh.bak javaws.sh
>>>> 4,6c4,6
>>>> < JRE=/usr/lib/jvm/java-1.8.0-openjdk/jre
>>>> < JAVA=$JRE/bin/java
>>>> <
>>>> LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/home/jvanek/icedtea-web-image/share/icedtea-web/javaws.jar:/home/jvanek/icedtea-web-image/share/icedtea-web/plugin.jar:/home/jvanek/icedtea-web-image/share/icedtea-web/jsobject.jar:/usr/share/java/js.jar:/usr/share/java/tagsoup.jar:/home/jvanek/hg/itw-windowsShortcuts/mslinks.jar'
>>>> ---
>>>>> #JRE=/usr/lib/jvm/java-1.8.0-openjdk/jre
>>>>> JAVA=/Users/jimdouglas/Documents/jdk-11.0.2.jdk/Contents/Home/bin/java
>>>>> LAUNCHER_BOOTCLASSPATH='-Xbootclasspath/a:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar'
>>>> 9,11c9,11
>>>> < BINARY_LOCATION=/home/jvanek/icedtea-web-image/bin/javaws.sh
>>>> < SPLASH_LOCATION=/home/jvanek/icedtea-web-image/share/icedtea-web/javaws_splash.png
>>>> < RUN_ARGS_LOCATION=//home/jvanek/icedtea-web-image/bin/itw-modularjdk.args
>>>> ---
>>>>> BINARY_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/bin/javaws.sh
>>>>> SPLASH_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws_splash.png
>>>>> RUN_ARGS_LOCATION=/Users/jimdouglas/Documents/icedtea-web-image/bin/itw-modularjdk.args
>>>> 13c13
>>>> < CP=$JRE/lib/rt.jar:$JRE/lib/jfxrt.jar
>>>> ---
>>>>> #CP=$JRE/lib/rt.jar:$JRE/lib/jfxrt.jar
>>>> 16,18c16,18
>>>> < NETX_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/javaws.jar
>>>> < PLUGIN_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/plugin.jar
>>>> < JSOBJECT_JAR=/home/jvanek/icedtea-web-image/share/icedtea-web/jsobject.jar
>>>> ---
>>>>> NETX_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar
>>>>> PLUGIN_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar
>>>>> JSOBJECT_JAR=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar
>>>> 22c22
>>>> < #MSLINKS_JAR=/home/jvanek/hg/itw-windowsShortcuts/mslinks.jar
>>>> ---
>>>>> #MSLINKS_JAR=/Users/jimdouglas/Documents/hg/itw-windowsShortcuts/mslinks.jar
>>>> 101a102
>>>>> echo "$version $MODULAR_JDK"
>>>> 194a196,197
>>>>> echo "${COMMAND[@]}"
>>>>> # exec "${COMMAND[@]}"
>>>> scrappy:bin jimdouglas$ 
>>>> 
>>>> 
>>>> scrappy:bin jimdouglas$ ./javaws.sh http://localhost:8888/jnlp/hello.jnlp
>>>> 11 YES
>>>> /Users/jimdouglas/Documents/jdk-11.0.2.jdk/Contents/Home/bin/java
>>>> -splash:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws_splash.png
>>>> -Xbootclasspath/a:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar:/lib/ext/nashorn.jar
>>>> -Xms8m --patch-module
>>>> java.desktop=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar
>>>> --patch-module
>>>> jdk.jsobject=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar
>>>> @/Users/jimdouglas/Documents/icedtea-web-image/bin/itw-modularjdk.args -classpath 
>>>> -Dicedtea-web.bin.name=javaws
>>>> -Dicedtea-web.bin.location=/Users/jimdouglas/Documents/icedtea-web-image/bin/javaws.sh
>>>> net.sourceforge.jnlp.runtime.Boot http://localhost:8888/jnlp/hello.jnlp
>>>> WARNING: package sun.awt.X11 not in java.desktop
>>>> Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
>>>> sun.misc.Launcher not found. Running jdk9 or higher? Using unsecure BootClassLoader
>>>> Codebase matches codebase manifest attribute, and application is signed. Continuing. See:
>>>> http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
>>>> sun.misc.Launcher not found. Running jdk9 or higher? Using unsecure BootClassLoader
>>>> install --novendor /Users/jimdouglas/.cache/icedtea-web/tmp/default.desktop
>>>> Install /Users/jimdouglas/.cache/icedtea-web/tmp/default.desktop to /Users/jimdouglas/Desktop
>>>> Name: default
>>>> Icon: /Users/jimdouglas/.config/icedtea-web/icons/localhost.ico
>>>> Exec: javaws "http://localhost:8888/jnlp/hello.jnlp"
>>>> App: /Users/jimdouglas/Desktop/default.desktop.app
>>>> /Users/jimdouglas/.config/icedtea-web/icons/localhost.ico
>>>>   /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources/webstart.icns
>>>> /Users/jimdouglas/Desktop/default.desktop.app
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/MacOS
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/MacOS/webstart.sh
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources/webstart.icns
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Info.plist
>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/PkgInfo
>>>> Starting application [com.basis.bbj.client.comm.WebStartLauncher] ...
>>>> BBjClassLoader.<clinit>(): NOTE  DEVROOT IS NULL 
>>>> BBjClassLoader: p_webStart=true
>>>> Creating IcedTea-Web WebstartEnvironmentStrategy net.sourceforge.jnlp.runtime.JNLPClassLoader
>>>> WARNING: An illegal reflective access operation has occurred
>>>> WARNING: Illegal reflective access by
>>>> com.basis.util.common.security.BBjClassLoader$ReflectiveEnvironmentStrategy$1
>>>> (http://localhost:8888/basis/BBjUtil.jar) to method
>>>> java.lang.ClassLoader.findLibrary(java.lang.String)
>>>> WARNING: Please consider reporting this to the maintainers of
>>>> com.basis.util.common.security.BBjClassLoader$ReflectiveEnvironmentStrategy$1
>>>> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
>>>> WARNING: All illegal access operations will be denied in a future release
>>>> BBjClassLoader: Using com.basis.util.common.security.BBjClassLoader$WebstartEnvironmentStrategy
>>>> Sorting URL: http://localhost:8888/basis/asm-tree-7.0.jar
>>>> no info for java version: 11.0.2+9::OpenJDK 64-Bit Server VM  on Mac OS X::64  
>>>> Either activate Software Asset Management (SAM) support (http://www.basis.com/sam-fulfillment) or go
>>>> to the BASIS download page (http://www.basis.com/bbj-bootstrap-download) for the latest
>>>> BBjBootStrap.jar that may provide support for this version of the JVM or install a version of the
>>>> JVM supported by this release of BBj.
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/asm-commons-7.0.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/asm-util-7.0.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/asm-7.0.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/JnlpExtIndex.jar
>>>>     code: registered as a User jar
>>>> Sorting URL: http://localhost:8888/basis/BBjBootstrap.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/JnlpIndex.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/BBjThinClient.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/localhost_ITW-hello-launch.jar
>>>>     code: jar is not registered
>>>> Sorting URL: http://localhost:8888/basis/BBjUtil.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/guava-24.0-jre.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/cglib-3.2.6.jar
>>>>     code: registered as a BASIS jar
>>>> Sorting URL: http://localhost:8888/basis/basisfonts.jar
>>>>     code: registered as a User jar
>>>> BBjClassLoader.BBjClassLoader(): [http://localhost:8888/basis/asm-tree-7.0.jar,
>>>> http://localhost:8888/basis/asm-commons-7.0.jar, http://localhost:8888/basis/asm-util-7.0.jar,
>>>> http://localhost:8888/basis/asm-7.0.jar, http://localhost:8888/basis/BBjBootstrap.jar,
>>>> http://localhost:8888/basis/JnlpIndex.jar, http://localhost:8888/basis/BBjThinClient.jar,
>>>> http://localhost:8888/basis/BBjUtil.jar, http://localhost:8888/basis/guava-24.0-jre.jar,
>>>> http://localhost:8888/basis/cglib-3.2.6.jar]
>>>> UserBoundFilePermission.enclosing_method():   RUNNING DISABLED 
>>>> Feb 25, 2019 11:52:38 AM com.basis.util.common.logging.BasisLogging initialize
>>>> OFF: Debug log level set to ALL and above
>>>> Feb 25, 2019 11:52:38 AM com.basis.util.common.logging.BasisLogging initialize
>>>> START: Debug log level set to ALL and above
>>>> [11:52:38.433-0800] START   Logging messages at level SEVERE and above
>>>> Feb 25, 2019 11:52:38 AM com.basis.util.common.logging.BasisLogging initialize
>>>> START: Logging messages at level SEVERE and above
>>>> [11:52:38.532-0800] INFO    
>>>> ************************************************
>>>> * BBj Services
>>>> * Copyright BASIS International Ltd.
>>>> *
>>>> * BBj Version: REV 19.00BETA
>>>> * Build: 00/00/0000 00:00
>>>> * Build ID: BBJBUILDEPOCH
>>>> * Build Note: 0rBBJBUILDSVN
>>>> * Runtime: Oracle Corporation 11.0.2 18.9 OpenJDK Runtime Environment on Mac OS X x86_64 10.14.3
>>>> * Classpath: 
>>>> * JVM Arguments:
>>>> '-Xbootclasspath/a:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar:/lib/ext/nashorn.jar'
>>>> '-Xms8m'
>>>> '--patch-module=java.desktop=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar'
>>>> '--patch-module=jdk.jsobject=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar'
>>>> '--add-reads=java.base=ALL-UNNAMED,java.desktop' '--add-reads=java.desktop=ALL-UNNAMED,java.naming'
>>>> '--add-reads=java.naming=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject'
>>>> '--add-exports=java.desktop/net.sourceforge.jnlp=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop'
>>>> '--add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED'
>>>> '--add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED'
>>>> '-Dicedtea-web.bin.name=javaws'
>>>> '-Dicedtea-web.bin.location=/Users/jimdouglas/Documents/icedtea-web-image/bin/javaws.sh'
>>>> * Host: scrappy.local
>>>> * Time Zone: Pacific Standard Time
>>>> * Up Since: Mon Feb 25 11:52:27 PST 2019
>>>> * BBjServices run as service: false
>>>> * BBjServices run as user: jimdouglas
>>>> * com.basis.bbj.console.rmi=true
>>>> ************************************************
>>>> 
>>>> Feb 25, 2019 11:52:38 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl <init>
>>>> INFO: 
>>>> ************************************************
>>>> * BBj Services
>>>> * Copyright BASIS International Ltd.
>>>> *
>>>> * BBj Version: REV 19.00BETA
>>>> * Build: 00/00/0000 00:00
>>>> * Build ID: BBJBUILDEPOCH
>>>> * Build Note: 0rBBJBUILDSVN
>>>> * Runtime: Oracle Corporation 11.0.2 18.9 OpenJDK Runtime Environment on Mac OS X x86_64 10.14.3
>>>> * Classpath: 
>>>> * JVM Arguments:
>>>> '-Xbootclasspath/a:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar:/lib/ext/nashorn.jar'
>>>> '-Xms8m'
>>>> '--patch-module=java.desktop=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/javaws.jar:/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/plugin.jar'
>>>> '--patch-module=jdk.jsobject=/Users/jimdouglas/Documents/icedtea-web-image/share/icedtea-web/jsobject.jar'
>>>> '--add-reads=java.base=ALL-UNNAMED,java.desktop' '--add-reads=java.desktop=ALL-UNNAMED,java.naming'
>>>> '--add-reads=java.naming=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject'
>>>> '--add-exports=java.desktop/net.sourceforge.jnlp=ALL-UNNAMED,java.desktop'
>>>> '--add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop'
>>>> '--add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED'
>>>> '--add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED'
>>>> '-Dicedtea-web.bin.name=javaws'
>>>> '-Dicedtea-web.bin.location=/Users/jimdouglas/Documents/icedtea-web-image/bin/javaws.sh'
>>>> * Host: scrappy.local
>>>> * Time Zone: Pacific Standard Time
>>>> * Up Since: Mon Feb 25 11:52:27 PST 2019
>>>> * BBjServices run as service: false
>>>> * BBjServices run as user: jimdouglas
>>>> * com.basis.bbj.console.rmi=true
>>>> ************************************************
>>>> 
>>>> [11:52:38.589-0800] INFO    ThinClientProxyServerImpl listening for connections on 0.0.0.0:62686
>>>> Feb 25, 2019 11:52:38 AM com.basis.util.common.error.ErrorMgrThread run
>>>> INFO: ThinClientProxyServerImpl listening for connections on 0.0.0.0:62686
>>>> Memory: [free=25983880,total=74448896,max=4294967296,used=48465016,timestamp=2019-02-25 11:52:38]
>>>> [11:52:38.646-0800] INFO    Client 1 connected to ThinClientProxyServer at Mon Feb 25 11:52:38
>>>> PST 2019
>>>> Feb 25, 2019 11:52:38 AM com.basis.bbj.client.comm.ThinClientProxyServerInstance doRun
>>>> INFO: Client 1 connected to ThinClientProxyServer at Mon Feb 25 11:52:38 PST 2019
>>>> Feb 25, 2019 11:52:39 AM com.basis.bbj.iris.client.awt.frames.IRootPane <clinit>
>>>> INFO: Java antialiasing disabled, using internal implementation
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ConnectionImpBase$ClientHeartbeatThread unregister
>>>> INFO: Terminate ClientHeartbeatThread because there are no registrations
>>>> [11:52:43.129-0800] INFO    No more clients connected, wait for a new client connect 1
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl$ConnectionMonitor run
>>>> INFO: No more clients connected, wait for a new client connect 1
>>>> [11:52:43.130-0800] INFO    -> time left to wait: 1
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl$ConnectionMonitor run
>>>> INFO: -> time left to wait: 1
>>>> [11:52:43.131-0800] INFO    -> waiting 1
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl$ConnectionMonitor run
>>>> INFO: -> waiting 1
>>>> [11:52:43.133-0800] INFO    -> finished waiting for new client connect
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl$ConnectionMonitor run
>>>> INFO: -> finished waiting for new client connect
>>>> [11:52:43.135-0800] INFO    Terminating
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerImpl$ConnectionMonitor run
>>>> INFO: Terminating
>>>> [11:52:43.139-0800] WARNING Socket closed
>>>> Feb 25, 2019 11:52:43 AM com.basis.util.common.error.ErrorMgrThread run
>>>> WARNING: Socket closed
>>>> [11:52:43.157-0800] INFO    Client 1 terminated at Mon Feb 25 11:52:43 PST 2019
>>>> Feb 25, 2019 11:52:43 AM com.basis.bbj.client.comm.ThinClientProxyServerInstance doRun
>>>> INFO: Client 1 terminated at Mon Feb 25 11:52:43 PST 2019
>>>> Shutdown complete.
>>>> scrappy:bin jimdouglas$ 
>>>> 
>>>> 
>>>> 
>>>>> On Feb 25, 2019, at 2:50 AM, Jiri Vanek <jvanek at redhat.com
>>>>> <mailto:jvanek at redhat.com> <mailto:jvanek at redhat.com>> wrote:
>>>>> 
>>>>> Hi Jim!
>>>>> 
>>>>> The separate launchers were never in, nor planned. However the linux ones  - both shell and native,
>>>>> should work. To apologise mysef, I do not own, nor have close enough, any Mac thing. Nor anybody
>>>>> arround have :( Otherwise I would give it a try.
>>>>> 
>>>>> Fro your simple script, there is not much what had changed.  Do you mind to debug why our launchers
>>>>> stopped to work? As this would be really good to fix in release time.
>>>>> 
>>>>> Tahnx!
>>>>> 
>>>>> J.
>>>>> On 2/22/19 8:59 PM, Jim Douglas wrote:
>>>>>> Is a macOS launcher planned for 1.8?
>>>>>> 
>>>>>> The javaws.sh Linux script doesn’t work with macOS, so I hacked up a quick (and probably not
>>>>>> completely correct) test script, which did launch a simple JNLP here:
>>>>>> 
>>>>>> scrappy:bin jimdouglas$ pwd
>>>>>> /Users/jimdouglas/Documents/icedtea-web-image/bin
>>>>>> scrappy:bin jimdouglas$ cat itw.sh
>>>>>> export ITW=$HOME/Documents/icedtea-web-image
>>>>>> export JAVA_HOME=$HOME/Documents/jdk-11.0.2.jdk/Contents/Home
>>>>>> $JAVA_HOME/bin/java -splash:$ITW/share/icedtea-web/javaws_splash.png
>>>>>> -Xbootclasspath/a:$ITW/share/icedtea-web/javaws.jar -Xms8m
>>>>>> --module-path=/Users/jimdouglas/Documents/javafx-sdk-11.0.2/lib --add-modules=java.se
>>>>>> <http://java.se/>
>>>>>> <http://java.se/>
>>>>>> <http://java.se <http://java.se/>
>>>>>> <http://java.se/>>,javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web
>>>>>> --add-exports=javafx.base/com.sun.javafx.runtime=ALL-UNNAMED
>>>>>> --add-exports=javafx.web/com.sun.javafx.webkit=ALL-UNNAMED
>>>>>> --add-exports=javafx.web/com.sun.webkit=ALL-UNNAMED
>>>>>> --add-exports=java.base/jdk.internal.loader=ALL-UNNAMED
>>>>>> --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
>>>>>> --add-exports=java.desktop/java.awt.dnd.peer=javafx.swing
>>>>>> --add-exports=java.desktop/sun.awt=javafx.swing --add-exports=java.desktop/sun.awt.dnd=javafx.swing
>>>>>> --add-exports=java.desktop/sun.awt.image=javafx.swing
>>>>>> --add-exports=java.desktop/sun.java2d=javafx.swing
>>>>>> --add-exports=java.desktop/sun.swing=javafx.swing
>>>>>> --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED --patch-module
>>>>>> java.desktop=$ITW/share/icedtea-web/javaws.jar
>>>>>> --add-exports=java.desktop/net.sourceforge.jnlp=ALL-UNNAMED
>>>>>> --add-opens=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>>>>> --add-exports=java.desktop/net.sourceforge.jnlp.runtime=ALL-UNNAMED
>>>>>> --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net
>>>>>> <http://java.net/> <http://java.net/>
>>>>>> <http://java.net <http://java.net/> <http://java.net/>>=ALL-UNNAMED
>>>>>> --add-opens=java.desktop/sun.java2d=ALL-UNNAMED
>>>>>> --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED
>>>>>> --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED --illegal-access=warn --add-reads
>>>>>> java.base=ALL-UNNAMED,java.desktop --add-reads java.desktop=ALL-UNNAMED,java.naming --add-reads
>>>>>> java.naming=ALL-UNNAMED,java.desktop --add-exports java.desktop/sun.awt=ALL-UNNAMED,java.desktop
>>>>>> --add-exports java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.security.provider=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.security.util=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.security.x509=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.security.validator=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.desktop/sun.applet=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.security.action=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop --add-exports
>>>>>> java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject
>>>>>> --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED
>>>>>> --add-exports=java.base/jdk.internal.loader=ALL-UNNAMED
>>>>>> --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-exports
>>>>>> java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
>>>>>> -Dicedtea-web.bin.name=$ITW/bin/itw.sh -Dicedtea-web.bin.location=$ITW/bin/itw.sh
>>>>>> net.sourceforge.jnlp.runtime.Boot -Xnofork $@
>>>>>> scrappy:bin jimdouglas$ ./itw.sh http://localhost:8888/jnlp/hello.jnlp
>>>>>> WARNING: package sun.awt.X11 not in java.desktop
>>>>>> Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
>>>>>> sun.misc.Launcher not found. Running jdk9 or higher? Using unsecure BootClassLoader
>>>>>> Codebase matches codebase manifest attribute, and application is signed. Continuing. See:
>>>>>> http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.html for details.
>>>>>> sun.misc.Launcher not found. Running jdk9 or higher? Using unsecure BootClassLoader
>>>>>> install --novendor /Users/jimdouglas/.cache/icedtea-web/tmp/default.desktop
>>>>>> Install /Users/jimdouglas/.cache/icedtea-web/tmp/default.desktop to /Users/jimdouglas/Desktop
>>>>>> Name: default
>>>>>> Icon: /Users/jimdouglas/.config/icedtea-web/icons/localhost.ico
>>>>>> Exec: javaws "http://localhost:8888/jnlp/hello.jnlp"
>>>>>> App: /Users/jimdouglas/Desktop/default.desktop.app
>>>>>> /Users/jimdouglas/.config/icedtea-web/icons/localhost.ico
>>>>>>   /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources/webstart.icns
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/MacOS
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/MacOS/webstart.sh
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Resources/webstart.icns
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/Info.plist
>>>>>> /Users/jimdouglas/Desktop/default.desktop.app/Contents/PkgInfo
>>>>>> Starting application [com.basis.bbj.client.comm.WebStartLauncher] ...
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>>> On Feb 22, 2019, at 3:15 AM, Jiri Vanek <jvanek at redhat.com <mailto:jvanek at redhat.com>
>>>>>>> <mailto:jvanek at redhat.com> <mailto:jvanek at redhat.com>> wrote:
>>>>>>> 
>>>>>>> Hello all!
>>>>>>> 
>>>>>>> Please see the pre-release of icedtea-web 1.8: https://jvanek.fedorapeople.org/itw1.8/
>>>>>>> If you can push it through your cases, it would be  awesome. There are native portable builds for
>>>>>>> both win and Linuxes. There is also multiplatform portable build based on shell/bat launchers
>>>>>>> only.
>>>>>>> I had also updated (not released!) fedora builds to this pre - see "fedora" text file:
>>>>>>> While this prerelase is in testing, I would like to call alive translators - Russian and Czech
>>>>>>> - to
>>>>>>> update theirs translations in
>>>>>>> http://icedtea.classpath.org/hg/icedtea-web/file/tip/netx/net/sourceforge/jnlp/resources/. In
>>>>>>> addition, I will start backporting of non-native patches to 1.7 so 1.7.2 can follow 1.8 very soon.
>>>>>>> 1.8 will be released once translations are in place. Of course anything wrong reported with
>>>>>>> pre-released tarballs will be fixed.
>>>>>>> 
>>>>>>> 
>>>>>>> Windows testing:
>>>>>>> * icedtea-web-1.8pre.portable.bin.zip
>>>>>>> * icedtea-web-1.8pre.win.bin.zip
>>>>>>> * itw-installer.msi
>>>>>>> + icedtea-web-1.8pre.tar.gz (sources for custom builds - optional)
>>>>>>> + https://jvanek.fedorapeople.org/itw1.8/icedtea-web-docs/
>>>>>>> 
>>>>>>> Linux testng:
>>>>>>> * iccedtea-web-1.8pre.linux.bin.zip
>>>>>>> * icedtea-web-1.8pre.portable.bin.zip
>>>>>>> * icedtea-web-1.8pre.tar.gz (sources for distributions and custom builds - mandatory)
>>>>>>> * fedora
>>>>>>> + https://jvanek.fedorapeople.org/itw1.8/icedtea-web-docs/
>>>>>>> 
>>>>>>> Note for JRE search:
>>>>>>> * windows shell scripts reads java_home or or registry
>>>>>>> * linux shell scripts reads java_home or defualt system jdk
>>>>>>> * native launchers reads in addition system paths
>>>>>>> TBH, I doubt I covered all combinations when I run my suites
>>>>>>> 
>>>>>>> 
>>>>>>> Cases (if you have lack of them, but many of them may be already dead):
>>>>>>> * https://icedtea.classpath.org/wiki/IcedTea-Web-Tests#javaws
>>>>>>> *
>>>>>>> https://icedtea.classpath.org/wiki/IcedTea-Web-Tests#IcedTea-Web_webstart_.28javaws.29_test_applications
>>>>>>> 
>>>>>>> Known bugs:
>>>>>>> 3705 --- Webstarted application tries to load resources from server incorrectly
>>>>>>> 3704 --- IcedTeaWeb doesn't run SAP PI web start interface - LAZY_CLASSLOADING_FAILED
>>>>>>> 3697 --- Custom JRE/JDK within UTF-8 folder name ( key deployment.jre.dir in in
>>>>>>> deployment.properties ) are not properly handled
>>>>>>> 3689 --- DownloadService2 not implemented
>>>>>>> 3672 --- Classloader doesn't load jar correctly from JNLP extension
>>>>>>> 3461 ---(still) Cannot run HP ILO4 remote console application
>>>>>>> Windows desktop shortcuts are suspected to not work with jdk11 and up
>>>>>>> 
>>>>>>> 
>>>>>>> On Linux side, except native launchers and few bug fixes, not much changed. But for windows
>>>>>>> support
>>>>>>> this is giant leap to be finally proper replacement for oracle javaws.
>>>>>>> 
>>>>>>> For 1.9 the plan is to remove plugin completely, and to move to github and under the wings of
>>>>>>> AdoptOpenJDK....
>>>>>>> 
>>>>>>> Looking forward for both  positive and negative feedbacks
>>>>>>>  J.
>>>>>> 
>>>>> 
>>>>> 
>>>>> -- 
>>>>> Jiri Vanek
>>>>> Senior QE engineer, OpenJDK QE lead, Mgr.
>>>>> Red Hat Czech
>>>>> jvanek at redhat.com <mailto:jvanek at redhat.com> <mailto:jvanek at redhat.com>    M: +420775390109
>>>> 
>>> 
>>> 
>>> -- 
>>> Jiri Vanek
>>> Senior QE engineer, OpenJDK QE lead, Mgr.
>>> Red Hat Czech
>>> jvanek at redhat.com <mailto:jvanek at redhat.com>    M: +420775390109
>> 
> 
> 
> -- 
> Jiri Vanek
> Senior QE engineer, OpenJDK QE lead, Mgr.
> Red Hat Czech
> jvanek at redhat.com    M: +420775390109



More information about the distro-pkg-dev mailing list