Skip to content
Workshop materials for the MeetUp on GraalVM Polyglot Interoperability on November 14th at AMIS | Conclusion
Java JavaScript Shell Python Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
java2js
js2java
polyglot
provision
.gitignore
GraalVM_Polyglot_MeetUp_november2019.pptx
README.md
Workshop GraalVM Polyglot Interoperability.docx
Workshop GraalVM Polyglot Interoperability.pdf

README.md

graalvm-polyglot-meetup-november2019

Workshop materials for the MeetUp on GraalVM Polyglot Interoperability on November 14th at AMIS | Conclusion

#Workshop Environment

Provision your own VM image from scratch

Folder provision contains the sources that will help you create a VirtualBox VM for this workshop from scratch. In order to get going, you need a local installation of:

These two tools will let you assemble the VM and run it.

You may want to adjust the IP address for the VM or its memory size or other characteristics in file Vagrantfile.

  1. open a command line in the provision directory
  2. type vagrant up
  3. You will have to wait for many things to happen now:
  • downloading the Ubuntu image
  • creating the VM through VirtualBox API
  • provisioning the Ubuntu environment inside the VM with: ** Ubuntu Desktop ** Java 8 ** Eclipse ** Firefox and Chrome ** GraalVM 19.2.1 plus extra features (R, Ruby, Python, native image) ** Visual Studio Source ** the GitHub Repo for the workshop resources

Note: if vagrant up fails with an error message that looks like this: `* Vagrant:

  • Unknown configuration section 'vbguest'.
  • Unknown configuration section 'disksize'. then please runvagrant up` again; there may be an issue with installing the Vagrant Plugins disksize and vbguest .
  1. After 10-15 minutes (primarily depending on download speeds) your VM will be provisioned. You could now run it from the command line (with vagant up) but instead let's use the main entrance through the Ubuntu desktop that has been installed.

  2. Switch to the VirtualBox client. Locate the new VM - called GraalVM Polyglot workshop - and start it. The VM starts and you will be able to enter the desktop environment.

Login with user developer and password Welcome01. Use the grid icon in the lower left hand corner of the screen to bring up an overview of applications available to you in this VM. The desktop includes icons for a number of applications, including Eclipse, Visual Studio Source and Google Chrome.

Open a terminal window through the Terminator tool. Some commands you may want to try: java -version graalpython lli --version js -version

Directory /home/developer/graalvm-polyglot-meetup-november2019 contains the Workshop materials - cloned from GitHub Repository https://github.com/AMIS-Services/graalvm-polyglot-meetup-november2019

Note: you may get annoyed a little with Ubuntu locking the screen quite aggressively. Since the host OS probably already runs screensaver and screen lock, you could switch off the screen lock in the Ubuntu Guest. Use Settings | Privacy | Screen Lock | Automatic Screen Lock Off. (see: https://technology.amis.nl/2019/11/02/switch-off-screen-lock-on-ubuntu-bionic-desktop/)

You can’t perform that action at this time.