Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

skateboard/customjvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CustomJVM

A customjvm made for java!

Introduction

This is a simple C++ program that creates a JVM inside the program. It finds a class called Start and calls main(String[]) static void!

Start Class Example

You have to create a custom start class like this example for minecraft

public class Start {
    public static void main(String[] args) {
        final String applicationData = System.getenv("APPDATA");
        final File workingDirectory = new File(applicationData, ".minecraft/");
        Main.main(new String[] { "--version", "1.8.9", "--accessToken", "0", "--assetIndex", "1.8", "--userProperties", "{}", "--gameDir", new File(workingDirectory, ".").getAbsolutePath(), "--assetsDir", new File(workingDirectory, "assets/").getAbsolutePath()});
    }
}

About

a custom JVM made for java!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages