Skip to main content

Tag: Jigsaw

Building OpenJDK 9 with OpenJFX 9 on Windows, the Jigsaw way

This post is a step by step to build the OpenJDK 9 with OpenJFX 9 with the Jigsaw changes on Windows (10 64bits).

It is based on the Jake instructions.

Update: 2017-01-21: OpenJFX has updated build requirements

  1. Create a C:\dev\ directory

  2. Download and install Visual Studio 2013 Community

    1. Download (it may be faster to download the ISO)

    2. Install

      • uncheck all the options

      • or download

        AdminDeployment.xml

        to C:\dev\temp then start the installation with:

Building OpenJDK with OpenJFX Jigsaw prototype on Windows

This post is a step by step to build the OpenJDK with OpenJFX Jigsaw prototype on Windows (10 64bits).

For OpenJDK 9 and OpenJFX 9 see the adjusted page.

Update 2016-10-08: Mercurial URL changed

  1. Create a C:\dev\ directory

  2. Download and install Visual Studio 2013 Community

    1. Download (it may be faster to download the ISO)

    2. Install

      • uncheck all the options

      • or download

        AdminDeployment.xml

        to C:\dev\temp then start the installation with:

        vs_community.exe /AdminFile C:\dev\temp\AdminDeployment.xml

Worldclock on Jigsaw and HK2

In the previous post I ‘ported’ HK2 to work on Jigsaw, in this post I adapt Worldclock to use it.

Retrieving the existing code:

svn checkout https://svn.java.net/svn/worldclock-application~svn/tags/application6-jigsaw-maven ~/dev/worldclock-hk2

And the new pom and module-info:

svn checkout https://svn.kenai.com/svn/lh-playground~svn/jigsaw/worldclock-hk2 ~/dev/worldclock-hk2-downloads

Jigsaw and Maven: Take 2, a Maven plugin

Last updated: 2012-11-01

This post will create a Maven plugin for Jigsaw. This plugin is based on HK2 Maven plugin.
The post includes all the code needed to build the plugin.
(the resulting source code, except for changes in Jigsaw’s source, is available at: https://svn.kenai.com/svn/lh-playground~svn/jigsaw )

Setting up the environment:

  1. Build Jigsaw

  2. Get Subversion

sudo apt-get install subversion

  1. Get Maven

sudo apt-get install maven2

  1. Set JAVA_HOME

export JAVA_HOME=’/usr/lib/jvm/java-7-openjdk-i386'

Custom Plexus Javac Component:

Jigsaw: Worldclock with the Maven plugin

Last updated: 2012-02-02

In the previous post I created a Maven plugin for Jigsaw, now I’ll adapt Worldclock to use it.

The transformed source code is also available at:

https://svn.java.net/svn/worldclock-application~svn/tags/application6-jigsaw-maven 

  1. Create the directory

mkdir -p ~/dev/worldclock

2. Get the source

cd ~/dev/worldclock
svn checkout https://svn.java.net/svn/worldclock-application~svn/tags/application6-jigsaw ~/dev/worldclock/application

  1. Cleanup

Remove the files that are not needed.

rm -rf ~/dev/worldclock/application/*.*
rm -rf ~/dev/worldclock/application/src/META-INF

  1. Code adjustment

The current combinaison of Jigsaw/JDK8/Ubuntu does not support the sytem tray properly, so adjust the Worldclock.java to bypass it

Jigsaw: From Hello World to WorldClock

(last updated 2010-06-20)

Moving on from Hello World to WorldClock, a simple multimodules application.

1. Get the source

Install Subversion:

sudo apt-get install subversion

Create the directories:

mkdir -p ~/dev/worldclock

 Get the source:

cd ~/dev/worldclock
svn checkout https://worldclock-application.dev.java.net/svn/worldclock-application/tags/application6-jigsaw ~/dev/worldclock/application –username guest