[Crossfire-wiki] [Crossfire DokuWiki] page changed: gridarta

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Tue Jan 29 23:39:51 CST 2008


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2008/01/29 23:39
User        : leaf
Edit Summary: New content and updates - troubleshooting and other info

@@ -33,13 +33,93 @@
    ant
  
  
  ==== 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.
+ 
+ ===== Special Instructions & Troubleshooting =====
+ 
+ ==== 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
+ 
+ <code>
+  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'.
+ </code>
+ 
+ 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 [[http://lists.apple.com/archives/java-dev/2005/Aug/msg00506.html|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:
+ <code>
+    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)
+ </code>
+ 
+  * Make 1.6 your "default" for the command line
+ <code>
+   $ vi ~/.bash_profile
+   PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands:${PATH}"
+   export PATH
+ </code>
+ 
+ FIXME-- * Make 1.6 your "default" for the GUI '''UNTESTED'''
+   - Open the Finder and navigate to a .class and/or .jar file
+   - Right click on the file and select 'Get Info'
+   - Expand the 'Open With:' option
+   - Change 'Jar Launcher (default)' to your preferred version of java
+   - 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
+ 
+ 
  
  ===== Links =====
    * http://gridarta.sourceforge.net/ Gridarta Website


IP-Address  : 216.243.156.5
Old Revision: http://wiki.metalforge.net/doku.php/gridarta?rev=1170263301
New Revision: http://wiki.metalforge.net/doku.php/gridarta

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list