Pages: [1]
Author Topic: enigma on windows  (Read 911 times)
Offline (Unknown gender) freezway
Posted on: September 08, 2010, 09:52:05 PM

Joined: Dec 2009
Posts: 220

View Profile
it errors.
if you drop a cat with buttered toast strapped to its back, which side lands down?
joshdreamland: our languages are based on the idea that it's going to end up FUBAR
/kick retep998
Offline (Male) RetroX
Reply #1 Posted on: October 21, 2010, 07:03:21 PM

Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger -
View Profile Email
noClassDefError is Java, not Windows.
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Female) IsmAvatar
Reply #2 Posted on: October 21, 2010, 08:08:15 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
freezway: This is caused from you using an old, old version which exhibited this bug, caused by the updater not asking for a program restart after updating the jar. The fix would be to download and use a newer version, but workarounds exist.
You must first shut down the program. At this point, you almost definitely have an outdated enigma dll/so which may or may not work, so it needs rebuilding. LGM+plugin does not know to rebuild it automatically (in your version). 3 ways to force a rebuild:
1) The recommended way: Delete or compileEGMf.dll.
2) Wait for another update to come around, which should cause enigma to update and rebuild when you run LGM+plugin.
3) Build it yourself, using any approved builder (such as Make or C::B).
Once you have done this, simply run the program (unless you chose option 2, in which case the program is already running). If you chose option 1, LGM will issue a rebuild. Otherwise, LGM should pickup the newly built enigma and work with it.

A possible 4th way does exist, if you have upgraded LGM+plugin to a new enough version. This was the way that we solved the problem.
4) (java) Preferences.userRoot().node("/org/enigma").putBoolean("NEEDS_REBUILD",true);
(basically, in windows, this adds an entry to the registry somewhere called NEEDS_REBUILD with value of true. In linux, it does so with a file somewhere.) The next time LGM+plugin is run, it will read this entry, realize that it needs rebuilding, and do so.
« Last Edit: October 21, 2010, 08:12:37 PM by IsmAvatar » Logged
Pages: [1]