User Tools

Site Tools


gridarta

This is an old revision of the document!


Gridarta

Introduction

Gridarta is a project that merges CFJavaEditor from Crossfire with its derivate DaimoninEditor from Daimonin, started in May 2006 by Cher, Ragnor, and Zergus.

Getting Gridarta

Snapshot release are made available depending on code updates and changes for Gridarta and Crossfire Archetypes, and can be found at“

SourceForge Gridarta Snapshot Download

Installing Gridarta on Windows

Running Gridarta

Gridarta can be run or launched through the following methods:

CLI (Command Line Interface)

For Gridarata4Crossfire run:

java -jar CrossfireEditor.jar

or for Gridarta4Daimonin run:

java -jar DaimoninEditor.jar

Also, it is possible java may not allocated enough memory defaultly, in which case use ”-Xmx128M“ or similar in the parameters to Java. For larger machines, explicitely requesting a client type VM can significantly speedup gridarta, so consider using ”-client“.

GUI (Graphical User Interface)

Double click on the .jar file - this is the case for Windows based systems and also applies for MacOS X.

JRE Update

*nix Based

If you recently upgraded your Java JRE or having problems launching the editor, or would like to specify a particular version of Java, run this command:

$ update-alternatives --config java

Follow the instructions that appear: NOTE: actual output, contents and options will vary, you'll want to use: /usr/lib/j2re1.5-sun/bin/java

 There are 6 alternatives which provide `java'.
 
  Selection    Alternative
 -----------------------------------------------
          1    /usr/lib/j2re1.4-sun/bin/java
 *        2    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
          3    /usr/bin/gij-wrapper-4.0
 +        4    /usr/lib/jvm/java-gcj/jre/bin/java
          5    /usr/bin/gij-wrapper-4.1
          6    /usr/lib/j2re1.5-sun/bin/java
 Press enter to keep the default[*], or type selection number: 6
 Using `/usr/lib/j2re1.5-sun/bin/java' to provide `java'.

Then try launching the editor again.

MacOS X Based

  • If you want to switch between 'released' version of java, just run the 'Java Preference.app', spotlight Java and you'll get a hit.
  • If you want to run a Developer Preview (DP) release you'll need to do some tweaking. See below.
  • You can get Fancy with some bash scripting
Developer Preview of Java

Apple does not want the normal user to run a DP version of java, so the pretty GUI and neat way of switching releases is disabled. Apple's official mechanism is to use full path to the release of java you want to run.

* Command line example to run 1.6

$ /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -version

This should display something like the following:

   java version "1.6.0_01-dp"
   Java(TM) SE Runtime Environment (build 1.6.0_01-dp-b06-101)
   Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_01-41-release, mixed mode)

* Make 1.6 your “default” for the command line

  $ vi ~/.bash_profile
  PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands:${PATH}"

Then run:

 
   $source ~/.bash_profile
   $java -version

You are now able to use java 1.6 at terminal.

FIXME– * Make 1.6 your “default” for the GUI 'UNTESTED'

  1. Open the Finder and navigate to a .class and/or .jar file
  2. Right click on the file and select 'Get Info'
  3. Expand the 'Open With:' option
  4. Change 'Jar Launcher (default)' to your preferred version of java
  5. Be bold and click 'Change All…'

Blank Editor Screen

Enter the following command in the same terminal or shell window and then try running the client:

$ export AWT_TOOLKIT=MToolkit
gridarta.1712638417.txt.gz · Last modified: 2024/04/08 23:53 by leaf