The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Can't build RapidMiner Studio Core from Source
klaus_freiberge
Member Posts: 2 Learner I
I need to set the rapid miner studio version to -SNAPSHOT to give my extension the necessary rights.
I downloaded the source code from github and changed the version in gradle.properties.
I build the studio like it's recommended on github:
But when i try to add the jar and all the dependencies to the java class path i get the error:
I downloaded the source code from github and changed the version in gradle.properties.
I build the studio like it's recommended on github:
Build RapidMiner Studio Core from Source
- Clone rapidminer-studio using git into a folder named
rapidminer-studio-core
- Execute
gradlew jar
- The jar file is located in build/libs
But i when i try to execute the generated jar with:
java -jar rapidminer-studio-core-9.0.0-SNAPSHOT.jari get the following message:
no main manifest attribute, in rapidminer-studio-core-9.0.0-SNAPSHOT.jarIn the MANIFEST.MF is no Main-Class defined, but which do i need to add and how?
I also tried to import it into my IDE like it's recommended on github:
Import RapidMiner Studio Core into your IDE
To start the graphical user interface of RapidMiner Studio Core create a new
- Your IDE has to support Gradle projects.
- Install Gradle 2.3+
- Install and configure a Gradle plugin for your IDE
- Import rapidminer-studio-core as a Gradle project
To start the graphical user interface of RapidMiner Studio Core create a new
GuiLauncher.java
file in src/main/java and run it with your IDE. If you want to use the generated jar, add the jar and all dependencies to the Java class path java -cp "all;required;jars" GuiLauncher
. You can list the runtime dependencies by executing gradlew dependencies --configuration runtime
.But when i try to add the jar and all the dependencies to the java class path i get the error:
Could not find or load main class GuiLauncherHow can i solve at least one of these errors?
Tagged:
0
Comments
Have you created the GuiLauncher.java file in src/main/java? That file should contain something like this:
Hope this helps,
Rodrigo.