Giter VIP home page Giter VIP logo

graalpython-java-example's People

Contributors

fniephaus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

graalpython-java-example's Issues

Extend README/code on how to run

When running Main.java from IDEA, there is just no output at all

When runing mvn exec:exec on macOS, very tiny windows appeared with just 3 dots (standard OS command),
only after extended window, I could see and something meaningful.

I bet there must mimimal logging to show what part of execution has passed, and what point user should see some UI

image

jar package is not runnable

% mvn package

% java -jar target/PygalExample-1.0-SNAPSHOT.jar
no main manifest attribute, in target/PygalExample-1.0-SNAPSHOT.jar

that is fixed with PR #5 ,

however there is next issue ModuleNotFoundError: No module named 'pygal'

% java -jar target/PygalExample-1.0-SNAPSHOT.jar
Exception in thread "main" ModuleNotFoundError: No module named 'pygal'
        at org.graalvm.sdk/org.graalvm.polyglot.Context.eval(Context.java:353)
        at com.oracle.example.javapython.Main.createPygalRenderer(Main.java:65)
        at com.oracle.example.javapython.Main.main(Main.java:27)

that is graal module resolution does not work for release jar, even though it should

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.