GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kostassite/CJavaVM: Allows using `libjvm` in other Swift packages.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
CJavaVM.xcodeproj
CJavaVM.xcodeproj
 
 
Sources/CJavaVM
Sources/CJavaVM
 
 
.gitignore
.gitignore
 
 
Info.plist
Info.plist
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
xcode.modulemap
xcode.modulemap
 
 

Repository files navigation

libjvm Swift package

Allows using libjvm in other Swift packages.

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

Usage

import PackageDescription

let package = 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/server
swift build -Xlinker -L${JVM_LIBRARY_PATH} -Xlinker -rpath -Xlinker ${JVM_LIBRARY_PATH} -ljvm

About

Allows using `libjvm` in other Swift packages.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.