← Back to DAGDA | Support | Source: https://github.com/neonichu/examples
Skip to content
neonichuPublic
forked from SwiftJava/examples

About

AWT and Swing examples for Linux and macOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

SwiftJava examples

Git submodule containing AWT and Swing examples intended to be cloned separately to build on Linux or macOS using the following commands:

    git clone https://github.com/SwiftJava/examples.git
    cd examples

    export JVM_LIBRARY_PATH=$JAVA_HOME/jre/lib/server # macOS
    export JVM_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server # Linux

    ulimit -n 10000 # increase file descriptors for link
    
    swift build -Xlinker -L$JVM_LIBRARY_PATH -Xlinker -rpath -Xlinker $JVM_LIBRARY_PATH -Xlinker -ljvm

About

AWT and Swing examples for Linux and macOS

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages