troubleshooting.html 10 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]--><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="Asciidoctor 1.5.4"><meta name="keywords" content="documentation, tool, sdk, faq"><title>troubleshooting</title><link rel="stylesheet" href="./asciidoctor.css">
  2. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  3. <link rel="stylesheet" href="./coderay-asciidoctor.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css"><link rel="stylesheet" href="/home/travis/build/jMonkeyEngine/wiki/build/asciidoc/html5/sdk/twemoji-awesome.css"></head><body class="article toc2 toc-left"><div id="header"><div id="toolbar"><a href="https://github.com/jMonkeyEngine/wiki/edit/master/src/docs/asciidoc/sdk/troubleshooting.adoc"><i class="fa fa-pencil-square" aria-hidden="true"></i></a><a href="https://github.com/jMonkeyEngine/wiki/new/master/src/docs/asciidoc/sdk/"><i class="fa fa-plus-square" aria-hidden="true"></i></a><input dir="auto" style="position: relative; vertical-align: top;" spellcheck="false" autocomplete="off" class="searchbox__input aa-input" id="doc-search" name="search" placeholder="Search in the doc" required="required" type="search"></div><h1>troubleshooting</h1><div class="details"><span class="author" id="author"></span><br><span id="revnumber">version ,</span> <span id="revdate">2016/03/17 20:48</span></div><div id="toc" class="toc2"><div id="toctitle">Table of Contents</div><ul class="sectlevel1"><li><a href="#troubleshooting-jmonkeyengine3-sdk">Troubleshooting jMonkeyEngine3 SDK</a><ul class="sectlevel2"><li><a href="#graphics-card-driver">Graphics Card Driver</a></li><li><a href="#stability-graphics-issues">Stability / Graphics issues</a></li><li><a href="#updating-problems">Updating problems</a></li><li><a href="#freezing-performance-problems">Freezing / Performance problems</a></li><li><a href="#preferences-and-settings">Preferences and Settings</a></li><li><a href="#log">Log</a></li><li><a href="#getting-error-messages-and-reporting-issues">Getting error messages and reporting issues</a></li><li><a href="#specifying-the-jdk-location">Specifying the JDK location</a></li><li><a href="#freezing-at-startup">Freezing at startup</a></li><li><a href="#known-issues">Known Issues</a></li></ul></li></ul></div></div><div id="content"><div class="sect2"><h3 id="troubleshooting-jmonkeyengine3-sdk">Troubleshooting jMonkeyEngine3 SDK</h3><div class="sect2"><h3 id="graphics-card-driver">Graphics Card Driver</h3><div class="paragraph"><p><strong>On Windows and Linux make sure you have the latest driver installed. Make sure its the one supplied by the card manufacturer and not just the <abbr title="Operating System">OS</abbr>-default one.</strong> On OSX, make sure you have the latest update for your MacOS.</p></div></div>
  4. <div class="sect2"><h3 id="stability-graphics-issues">Stability / Graphics issues</h3><div class="paragraph"><p>On some Linux and Windows systems, the SDK might perform unstable and quit with native VM crashes or &#8220;x&#8221; errors. There are a few things one can try to remedy those issues.</p></div>
  5. <div class="sect3"><h4 id="heavyweight-canvas">Heavyweight Canvas</h4><div class="paragraph"><p>First of all theres the new &#8220;OpenGL&#8221; settings page in the SDK global settings where you can enable the &#8220;Heavyweight Canvas&#8221;, which solved some issues for some people. The settings panel can be found under <code><span class="menuseq"><span class="menu">Tools</span>&#160;&#9656; <span class="menuitem">Options</span></span></code> on Windows and Linux and in the main menu (or by pressing Apple-Comma) for MacOSX.</p></div>
  6. <div class="paragraph"><p>If you cannot start the SDK, edit the file <code>config/Preferences/com/jme3/gde/core.properties</code> in the SDK settings folder (see above). If it doesn&#8217;t exist, create the file including all folders. Add the line <code>use_lwjgl_canvas=true</code>. To try OpenGL1 compatibility mode (works for both canvas settings) add <code>use_opengl_1=true</code>.</p></div></div>
  7. <div class="sect3"><h4 id="look-and-feel">Look and Feel</h4><div class="paragraph"><p>The <abbr title="Operating System">OS</abbr>-built-in look and feel might cause issues, you can change the LAF by using the appropriate command line switch (or add it to the [app folder]/etc/jmonkeyplatform.conf file, without the &#8220;- -&#8221; prefix).</p></div>
  8. <div class="listingblock"><div class="content"><pre class="CodeRay highlight"><code>--laf javax.swing.plaf.nimbus.NimbusLookAndFeel</code></pre></div></div>
  9. <div class="paragraph"><p>or alternatively</p></div>
  10. <div class="listingblock"><div class="content"><pre class="CodeRay highlight"><code>--laf javax.swing.plaf.metal.MetalLookAndFeel</code></pre></div></div></div>
  11. <div class="sect3"><h4 id="compiz">Compiz</h4><div class="paragraph"><p>Compiz on Linux might cause issues, if you set its rendering quality to &#8220;Medium&#8221; these should go away.</p></div>
  12. <div class="ulist"><ul><li><p><code><span class="menuseq"><span class="menu">Appearance</span>&#160;&#9656; <span class="submenu">Set Special effects to</span>&#160;&#9656; <span class="menuitem">&#8220;Medium&#8221;</span></span></code></p></li></ul></div></div></div>
  13. <div class="sect2"><h3 id="updating-problems">Updating problems</h3><div class="paragraph"><p>If you have problems updating the SDK, try deleting all files from <code>jmonkeyplatform/update/download</code> and/or <code>[settings folder]/update/download</code> depending on your system (see below for the settings folder location).</p></div>
  14. <div class="paragraph"><p>If you are on Linux, check if the user you run the SDK with has access to the files in <code>jmonkeyplatform/jdk/bin</code> and that they are executable.</p></div></div>
  15. <div class="sect2"><h3 id="freezing-performance-problems">Freezing / Performance problems</h3><div class="paragraph"><p>If the SDK starts to become sluggish and / or slow or you get unexpected freezes of the application, you can try deleting the cache folder at var/cache in the settings folder (see below for the location of the settings folder). Do this while the SDK is not running, then restart the SDK.</p></div></div>
  16. <div class="sect2"><h3 id="preferences-and-settings">Preferences and Settings</h3><div class="paragraph"><p>To completely remove and/or reinstall the SDK it is vital that the settings folder is deleted too. The location can be seen through the &#8220;about&#8221; menu and is as following for the different <abbr title="Operating System">OS</abbr>'s:</p></div>
  17. <div class="ulist"><ul><li><p>Windows: <code>C:\Userspass\&lt;username&gt;\AppData\Roaming\.jmonkeyplatform</code></p></li><li><p>Windows (alt): <code>C:\Users\&lt;username&gt;\.jmonkeyplatform\</code></p></li><li><p>MacOSX: <code>/Users/&lt;username&gt;/Library/Application Support/jmonkeyplatform</code></p></li><li><p>Ubuntu: <code>/home/&lt;username&gt;/.jmonkeyplatform</code></p></li></ul></div></div>
  18. <div class="sect2"><h3 id="log">Log</h3><div class="paragraph"><p>To see or post the error output of the SDK in the forum, you can find the log of the application in the settings folder above too, the file is called <code>var/log/messages.log</code>.</p></div></div>
  19. <div class="sect2"><h3 id="getting-error-messages-and-reporting-issues">Getting error messages and reporting issues</h3><div class="paragraph"><p>When an exception happens in the SDK, a small warning sign appears in the lower right corner of the main window. Double-click it to open a window that allows you to see the exception stack trace. When posting about issues in the forum, always post the stack trace along with a description of what happens and how it can be reproduced.</p></div></div>
  20. <div class="sect2"><h3 id="specifying-the-jdk-location">Specifying the JDK location</h3><div class="paragraph"><p>You can install another JDK for use with the jMonkey SDK. You then have to specify the location manually.</p></div>
  21. <div class="olist arabic"><ol class="arabic"><li><p>Go to your jMonkeyEngine SDK installation directory.<br>
  22. Mac users right-click jMonkeyApplication.app (which actually is a directory) in the Finder and select &#8220;Show package contents&#8221;.</p></li><li><p>Navigate to the <code>etc</code> directory.<br>
  23. Mac users navigate to <code>Contents/Resources/jmonkeyplatform/etc/</code>.</p></li><li><p>Open the file <code>jmonkeyplatform.conf</code> in a text editor.</p></li><li><p>Change the following line and enter the path to the JDK:</p></li></ol></div>
  24. <div class="listingblock"><div class="content"><pre>jdkhome="/path/to/jdk"</pre></div></div></div>
  25. <div class="sect2"><h3 id="freezing-at-startup">Freezing at startup</h3><div class="paragraph"><p>If you&#8217;re behind a proxy or special network settings, try :</p></div>
  26. <div class="olist arabic"><ol class="arabic"><li><p>Disable your network connection.</p></li><li><p>Launch jme sdk (may wait 30s/1min for timeout).</p></li><li><p>Go into <code><span class="menuseq"><span class="menu">Tools</span>&#160;&#9656; <span class="submenu">Options</span>&#160;&#9656; <span class="menuitem">General</span></span></code>.</p></li><li><p>Setup &#8220;manual proxy settings&#8221; (for some reason the &#8220;Use System Proxy Settings&#8221; option doesn&#8217;t work on some Linux distributions)</p></li></ol></div>
  27. <div class="paragraph"><p><a href="https://hub.jmonkeyengine.org/t/jme-sdk-stalls-on-startup/30555">Discussion</a> of the problem.</p></div></div>
  28. <div class="sect2"><h3 id="known-issues">Known Issues</h3><div class="paragraph"><p>For a list of known issues and possible workarounds see the following link: <a href="https://github.com/jMonkeyEngine/sdk/issues">List of known issues on github.</a></p></div>
  29. <div class="paragraph"><p>Some issue are imported from the previous googlecode:
  30. <a href="https://code.google.com/archive/p/jmonkeyengine/issues">List of old issues on googlecode.</a></p></div></div></div></div><div id="footer"><div id="footer-text">Version <br>Last updated 2019-12-19 19:32:51 +00:00</div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script><script>docsearch({
  31. apiKey: 'a736b6d93de805e26ec2f49b55013fbd',
  32. indexName: 'jmonkeyengine',
  33. inputSelector: '#doc-search',
  34. debug: false // Set debug to true if you want to inspect the dropdown
  35. });</script></body></html>