Home > Game and CG > Setting Environment JME2 in Netbeans 6.7.1

Setting Environment JME2 in Netbeans 6.7.1

This tutorial will try to guide in setting Netbeans Project to develop Java game using JMonkey Engine.  Follow the step bellow :

  1. Create Netbeans Project
  2. Add JME library with Library Manager
    1. From menu Tools, select Libraries
    2. Click “New Library” button
    3. Click “Add JAR/Folder” button and select folder where you put your JME2 libraries
  3. Add Library to Project
    1. From the project tree, Right click  on the folder “Libraries”.
    2. Select “Property”
    3. Click “Add Library” button
    4. Select JME Library
  4. Setting VM
    1. Right Click on Project name, then select Properties.
    2. Select Run Categories.
    3. In VM Options insert path of lwjgl folder.
      For example -Djava.library.path=”../JME_201/lib/lib/lwjgl/native/win-linux/”
  5. After that you can begin in writing code.
Advertisements
Categories: Game and CG
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: