| 1234567891011121314151617181920212223242526272829303132333435 |
- <!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">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
- <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>
- <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 “x” errors. There are a few things one can try to remedy those issues.</p></div>
- <div class="sect3"><h4 id="heavyweight-canvas">Heavyweight Canvas</h4><div class="paragraph"><p>First of all theres the new “OpenGL” settings page in the SDK global settings where you can enable the “Heavyweight Canvas”, which solved some issues for some people. The settings panel can be found under <code><span class="menuseq"><span class="menu">Tools</span> ▸ <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>
- <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’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>
- <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 “- -” prefix).</p></div>
- <div class="listingblock"><div class="content"><pre class="CodeRay highlight"><code>--laf javax.swing.plaf.nimbus.NimbusLookAndFeel</code></pre></div></div>
- <div class="paragraph"><p>or alternatively</p></div>
- <div class="listingblock"><div class="content"><pre class="CodeRay highlight"><code>--laf javax.swing.plaf.metal.MetalLookAndFeel</code></pre></div></div></div>
- <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 “Medium” these should go away.</p></div>
- <div class="ulist"><ul><li><p><code><span class="menuseq"><span class="menu">Appearance</span> ▸ <span class="submenu">Set Special effects to</span> ▸ <span class="menuitem">“Medium”</span></span></code></p></li></ul></div></div></div>
- <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>
- <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>
- <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>
- <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 “about” menu and is as following for the different <abbr title="Operating System">OS</abbr>'s:</p></div>
- <div class="ulist"><ul><li><p>Windows: <code>C:\Userspass\<username>\AppData\Roaming\.jmonkeyplatform</code></p></li><li><p>Windows (alt): <code>C:\Users\<username>\.jmonkeyplatform\</code></p></li><li><p>MacOSX: <code>/Users/<username>/Library/Application Support/jmonkeyplatform</code></p></li><li><p>Ubuntu: <code>/home/<username>/.jmonkeyplatform</code></p></li></ul></div></div>
- <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>
- <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>
- <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>
- <div class="olist arabic"><ol class="arabic"><li><p>Go to your jMonkeyEngine SDK installation directory.<br>
- Mac users right-click jMonkeyApplication.app (which actually is a directory) in the Finder and select “Show package contents”.</p></li><li><p>Navigate to the <code>etc</code> directory.<br>
- 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>
- <div class="listingblock"><div class="content"><pre>jdkhome="/path/to/jdk"</pre></div></div></div>
- <div class="sect2"><h3 id="freezing-at-startup">Freezing at startup</h3><div class="paragraph"><p>If you’re behind a proxy or special network settings, try :</p></div>
- <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> ▸ <span class="submenu">Options</span> ▸ <span class="menuitem">General</span></span></code>.</p></li><li><p>Setup “manual proxy settings” (for some reason the “Use System Proxy Settings” option doesn’t work on some Linux distributions)</p></li></ol></div>
- <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>
- <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>
- <div class="paragraph"><p>Some issue are imported from the previous googlecode:
- <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({
- apiKey: 'a736b6d93de805e26ec2f49b55013fbd',
- indexName: 'jmonkeyengine',
- inputSelector: '#doc-search',
- debug: false // Set debug to true if you want to inspect the dropdown
- });</script></body></html>
|