kirill-grouchnikov / substance

A modern and high-performant Swing look-and-feel library
163 stars 110 forks source link

Java 9 Issue? #57

Closed Bo-Fone closed 6 years ago

Bo-Fone commented 6 years ago

Version of Substance

7.3

Version of Java

9.0.1

Version of OS

macOS 10.13.1

The issue you're experiencing (expected vs actual, screenshot, stack trace etc)

Hi, I was trying to compile a Minecraft custom launcher by https://github.com/SKCraft/Launcher. I successfully compiled the launcher, but upon running it I get these errors:

https://pastebin.com/TUJTJft5

I asked the developer who created the launcher, and he replied that it's an issue with substance and java 9. I'm quite inexperienced to programming. But I do want to get it work. Please let me know anything could possibly resolve this issue thanks!!!

Bo-Fone commented 6 years ago

In the build script, I did include the latest substance version

apply plugin: 'com.github.johnrengelman.shadow'

jar { manifest { attributes("Main-Class": "com.skcraft.launcher.FancyLauncher") } }

dependencies { compile project(':launcher') compile 'com.github.insubstantial:substance:7.3' }

shadowJar { dependencies { exclude(dependency('org.projectlombok:lombok')) } }

build.dependsOn(shadowJar)

kirill-grouchnikov commented 6 years ago

This is using Insubstantial, and old an no longer maintained fork of Substance.

I will comment on the original issue you opened on that launcher to ask them if they'd be interested in tracking the latest stable release of Substance.