Configuring JMonkeyEngine in Intellij IDEA

How to configure JMonkeyEngine in Intellij IDEA. It was not listed in the documentation ( http://hub.jmonkeyengine.org/wiki/doku.php/ ).

+6
source share
2 answers

now easy if you use maven or gradle. Maven simple pom.xml:

<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.mycompany</groupId> <artifactId>jme3-example</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>JME3 maven project</name> <properties> <jme3.version>3.0.10</jme3.version> </properties> <dependencies> <dependency> <groupId>com.jme3</groupId> <artifactId>jme3-core</artifactId> <version>${jme3.version}</version> </dependency> <dependency> <groupId>com.jme3</groupId> <artifactId>jme3-desktop</artifactId> <version>${jme3.version}</version> </dependency> <dependency> <groupId>com.jme3</groupId> <artifactId>jme3-lwjgl</artifactId> <version>${jme3.version}</version> </dependency> </dependencies> <repositories> <repository> <id>jme3-repo</id> <name>JME3 maven repo</name> <url>http://updates.jmonkeyengine.org/maven/</url> </repository> </repositories> </project> 

Note 0: JME 3.1 deployed at JCenter

Note 1: The official JMonkeyEngine wiki has been moved to https://jmonkeyengine.imtqy.com/wiki/

Gradle config and other maven dependencies described here: https://jmonkeyengine.imtqy.com/wiki/jme3/maven.html If you have not used maven or gradle before, find out :)

+6
source

I recommend that you learn jMonkeyEngine3 using the jMonkeyEngine SDK, as it is well documented.

If you want to use jMonkeyEngine with IntelliJ IDEA, you can get all the relevant information from this eclipse tutorial: http://hub.jmonkeyengine.org/wiki/doku.php/jme3:setting_up_jme3_in_eclipse

Of course, you should consider a different terminology and user interface for setting things up in IDEA. Basically all you have to do is add the correct .jar files to your classpath.

If you have problems and need more information, you should probably learn more about the settings for the IntelliJ IDEA project and the Java Classpath.

As I said, I recommend starting with the jMonkeyEngine SDK. (Keep in mind that you lose support for jMonkey file types, such as .j3m (jmonkey stuff) and .j3o (jmonkey models) when you use IntelliJ IDEA!)

+3
source

All Articles