Repository navigation
Home
Wiki is under construction. There may be parts that are outdated and unfinished.
Below is all the known issues that occur when setting up the project. Use control f to find your error. If its not listed create an issue report.
This error occurs because you need to specify the main-class in the shading plugin inside the pom.xml. RenJa comes with a main class you just have to call it.
Full shading plugin.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>me.piitex.renjava.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>Part that is needed.
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>me.piitex.renjava.Main</mainClass>
</transformer>
</transformers>
</configuration>This error occurs when you compile your version with the wrong java version. 52 = Java 8 53 = Java 9 54 = Java 10 55 = Java 11 56 = Java 12 57 = Java 13 58 = Java 14 59 = Java 15 60 = Java 16 61 = Java 17
RenJa is built using Java 17. Make sure your project sdk is set to java 17 and the compiler options inside of your pom.xml. (RenJa may be using a different Java version. Check the readme.