Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allows using `libjvm` in other Swift packages.

License

NotificationsYou must be signed in to change notification settings

SwiftJava/CJavaVM

 
 

Repository files navigation

Allows usinglibjvm in other Swift packages.

Note: this has only been tested on OS X 10.11 right now and will requiredifferent paths if used on any other operating system.

Usage

import PackageDescriptionletpackage=Package(    name:"example",    dependencies:[.Package(url:"https://github.com/neonichu/CJavaVM", majorVersion:1)])

Build your dependent packages somewhat like this:

JVM_LIBRARY_PATH=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/serverswift build -Xlinker -L${JVM_LIBRARY_PATH} -Xlinker -rpath -Xlinker${JVM_LIBRARY_PATH} -ljvm

About

Allows using `libjvm` in other Swift packages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++98.4%
  • Other1.6%

[8]ページ先頭

©2009-2025 Movatter.jp