Lemon Pie
|
|
Posted on: January 30, 2013, 03:52:07 pm |
|
|
Joined: Mar 2012
Posts: 9
|
Ever since I updated Java to the newest iteration (which, I'm pretty sure, fixed the massive security issues) I've been getting this error when I attempt to start ENIGMA; Checking configuration Scouring for Java java version "1.7.0_11" Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode, sharing) Calling `java -jar l*.jar`
Error: Unable to access jarfile l*.jar Press any key to continue . . .
LateralGM starts up fine when if I execute the JAR directly. I've tried moving ENIGMA to the root & redownloading & such, but it still pops up with this error. System Specs; http://pastebin.com/2Prz7csa
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #1 Posted on: January 30, 2013, 04:06:34 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
It's a Java issue. I've been hearing about it a lot, recently, and I wish people would start directing these posts to Oracle so they'd fix it. Basically, someone decided that wildcards in Java filenames was a bad idea, and so they randomly and unceremoniously dropped support for it.
I'm sure if I said that to the wrong person, I'd get a lecture about how this has been the plan since dinosaurs roamed the earth, because * is terrible practice and isn't anything like how the filesystem actually works, and causes security holes from ninjas who pretend to be the file you're trying to execute... but in the meantime, I'm going to be pissed that they broke it.
Also in the meantime, I'll see about rebuilding ENIGMA.exe for Windows to run it with the full filename.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|
Josh @ Dreamland
|
|
Reply #4 Posted on: February 07, 2013, 02:23:58 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
I've committed a fix to ENIGMA.exe. I am getting sick of this patch-maintenance bullshit; this is something this server ought to be doing for us. Or, if we must, EnigmaBot's server. Point is, compiling ENIGMA.exe is trivial, albeit not something Linux ought to do. Downloading a zip file from GitGub and packing in some files? That's trivial and something the server ought to be doing.
Anyone want to volunteer to write a PHP script to (optionally) compile ENIGMA.exe, download the repository from GitHub, and pack in the Additional files?
Would be great if it could generate deb/rpm packages, too.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
Josh @ Dreamland
|
|
Reply #6 Posted on: February 07, 2013, 08:49:32 pm |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
It takes about .25 seconds to compile ENIGMA.exe. The download should not take that long (ENIGMA is less than 2MB), but in the event that it does, I suppose we can schedule it as a cron job and just offer the zips as they become available.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
Lemon Pie
|
|
Reply #7 Posted on: February 08, 2013, 02:18:45 am |
|
|
Joined: Mar 2012
Posts: 9
|
Point is, compiling ENIGMA.exe is trivial, albeit not something Linux ought to do. Downloading a zip file from GitGub and packing in some files? That's trivial and something the server ought to be doing.
Excuse my newbiness but how exactly does one compile ENIGMA for Windows? I've been trying with Code::Blocks for the past few days to no avail... The search bar held no helpfulness on the matter... Of course I could just be an idiot.
|
|
|
Logged
|
|
|
|
Josh @ Dreamland
|
|
Reply #8 Posted on: February 08, 2013, 03:02:32 am |
|
|
Prince of all Goldfish
Location: Pittsburgh, PA, USA Joined: Feb 2008
Posts: 2950
|
The compiler project is in CompilerSource. You're best letting LGM compile it, though. ENIGMA.exe is in CompilerSource/stupidity-buffer. This is the shiny thing that runs LGM (but since broke). The engine project is in ENIGMAsystem/SHELL. Compiling this with C::B will do you no good.
|
|
|
Logged
|
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble "I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
|
|
|
|
|