Preferred way to test custom builds with latest JDK 8 binaries

Sven Reimers sven.reimers at gmail.com
Mon Feb 4 12:51:26 PST 2013


Yes that worked.
So this is what does the trick:
-Xbootclasspath/a:pathToOpenJFX/dist/openjfxrt.jar:pathToJDK8/jre/libs/ext/jfxrt.jar
-Sven
On Mon, Feb 4, 2013 at 6:49 PM, Kevin Rushforth
<kevin.rushforth at oracle.com>wrote:
> **
> > Should the openjfxrt.jar be a drop in replacement for jfxrt.jar already?
>> No, it isn't (and won't be for a few months). If you put openjfxrt.jar and
> jfxrt.jar on the boot classpath with -Xbootclasspath/a does that work? I
> would expect that it should.
>>> -- Kevin
>>> Sven Reimers wrote:
>> Just tried it, but it tells me
>> ClassNotFoundException com/sun/javafx/tk/quantum/QuantumToolkit
>> and because of this I think
>> RuntimeException: No Toolkit found
>> I think this is because this is still not open sourced and as such
> missing in my openjfxrt.jar..
>> Should the openjfxrt.jar be a drop in replacement for jfxrt.jar already?
>> Thanks for your help
>> -Sven
>>> On Mon, Feb 4, 2013 at 6:09 PM, Kevin Rushforth <
> kevin.rushforth at oracle.com> wrote:
>>> > -prepending bootclasspath: does not work classloading fails
>>>> I would suggest appending openjfxrt.jar to the bootclasspath (there is a
>> known bug when prepending...I'll dig up the bug ID if you are interested).
>>>> -- Kevin
>>>>>>>> Sven Reimers wrote:
>>>> Update:
>>>> I tried so far:
>>>> -endorsed: does not work classloading fails
>> -prepending bootclasspath: does not work classloading fails
>>>> So it seems I need to have the ability to create full jfxrt.jar else both
>> approaces fail.
>>>> So any ideas besides creating a local copy of my jdk and patching the
>> original jfxrt.jar in some way to incorporate my changes?
>>>> Thanks
>>>> -Sven
>>>>>> On Sun, Feb 3, 2013 at 6:35 PM, Sven Reimers <sven.reimers at gmail.com> <sven.reimers at gmail.com> wrote:
>>>>>>>> Hi,
>>>> since the latest binaries (b75) now have JavaFX on it's classpath by
>> default, I am interested in the best (quick) way to test changes using
>> custom builds with openjfxrt.jar.
>>>> Any ideas?
>>>> -Sven
>>>> --
>> Sven Reimers
>>>> * Senior Expert Software Architect
>> * NetBeans Dream Team Member: http://dreamteam.netbeans.org
>> * Community Leader NetBeans: http://community.java.net/netbeans
>> Desktop Java:http://community.java.net/javadesktop
>> * Duke's Choice Award Winner 2009
>> * Blog: http://nbguru.blogspot.com
>>>> * XING: https://www.xing.com/profile/Sven_Reimers8
>> * LinkedIn: http://www.linkedin.com/in/svenreimers
>>>> Join the NetBeans Groups:
>> * XING: http://www.xing.com/group-20148.82db20
>> * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
>> * LinkedIn: http://www.linkedin.com/groups?gid=1860468
>> http://www.linkedin.com/groups?gid=107402
>> http://www.linkedin.com/groups?gid=1684717
>> * Oracle: https://mix.oracle.com/groups/18497
>>>>>>> --
> Sven Reimers
>> * Senior Expert Software Architect
> * NetBeans Dream Team Member: http://dreamteam.netbeans.org
> * NetBeans Governance Board Member:
> http://netbeans.org/about/os/governance.html
> * Community Leader NetBeans: http://community.java.net/netbeans
> Desktop Java:
> http://community.java.net/javadesktop
> * Duke's Choice Award Winner 2009
> * Blog: http://nbguru.blogspot.com
>> * XING: https://www.xing.com/profile/Sven_Reimers8
> * LinkedIn: http://www.linkedin.com/in/svenreimers
>> Join the NetBeans Groups:
> * XING: http://www.xing.com/group-20148.82db20
> * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
> * LinkedIn: http://www.linkedin.com/groups?gid=1860468
> http://www.linkedin.com/groups?gid=107402
> http://www.linkedin.com/groups?gid=1684717
> * Oracle: https://mix.oracle.com/groups/18497
>>
-- 
Sven Reimers
* Senior Expert Software Architect
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* NetBeans Governance Board Member:
http://netbeans.org/about/os/governance.html
* Community Leader NetBeans: http://community.java.net/netbeans
 Desktop Java:
http://community.java.net/javadesktop
* Duke's Choice Award Winner 2009
* Blog: http://nbguru.blogspot.com
* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers
Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* LinkedIn: http://www.linkedin.com/groups?gid=1860468
 http://www.linkedin.com/groups?gid=107402
 http://www.linkedin.com/groups?gid=1684717
* Oracle: https://mix.oracle.com/groups/18497


More information about the openjfx-dev mailing list

AltStyle によって変換されたページ (->オリジナル) /