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 - readdle/CJavaVM: Allows using `libjvm` in other Swift packages.

This repository was archived by the owner on Sep 30, 2025. It is now read-only.
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
 
 
.gitignore
.gitignore
 
 
CJavaVM.h
CJavaVM.h
 
 
Info.plist
Info.plist
 
 
LICENSE
LICENSE
 
 
Package.swift
Package.swift
 
 
README.md
README.md
 
 
jni.h
jni.h
 
 
jni_md.h
jni_md.h
 
 
module.modulemap
module.modulemap
 
 
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
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
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.