Pages: 1
  Print  
Author Topic: ENIGMA not working with JAVA 8 WTF!  (Read 8501 times)
Offline (Unknown gender) Darkstar2
Posted on: February 12, 2015, 10:01:12 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
Why the bloody hell can't I run ENIGMA with my JAVA 8 install ? It is the latest, CLEAN install, and yes before anybody asks I uninstalled fully the previous version. When running ENIGMA it tells me it  cannot find the motherfucker - I can confirm that JAVA 8 is properly installed, properly detected and no trace of previous version.

WTF is this, can't I use a stable, secure version of java or do I have to use the old vulnerable version to run ENIGMA......Guess I'll have to stop using ENIGMA then, there is no way I am going back to version 7.
Cheers.
Logged
Offline (Unknown gender) TheExDeus
Reply #1 Posted on: February 13, 2015, 03:07:00 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
I have Java version 1.8.0_25 (which is Version 8 build 25) and I run LGM fine. So there must be another issue. Clearly if it cannot find Java then it's a problem with PATH. Does "java -version" work for you in cmd? And what bit version is it? LGM is a 32bit jar, so it requires a 32bit Java. You can see how to install both, but use 32bit in the wiki (http://enigma-dev.org/docs/Wiki/Install:Parallel_Java).

 I know that newest install package has it's problems (hint: egm), but blaming everything on ENIGMA seems absurd. I have zero problems with it.

Edit: All of this was mentioned in Java8 topic as well http://enigma-dev.org/forums/index.php?topic=2307.0 .
« Last Edit: February 13, 2015, 08:35:55 am by TheExDeus » Logged
Offline (Unknown gender) Darkstar2
Reply #2 Posted on: February 13, 2015, 10:27:36 am
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
I fully uninstalled all traces of JAVA and did a clean JAVA 8 install and yes it was properly installed, and yes the PATH is correct, why wouldn't it be, it is updated automatically and works......Proof is when I type java it runs fine.....and yes running ENIGMA I see the message that my version is 1.8 and that it requires 1.7, and yes 1.7 is fully uninstalled, no traces left, no stray registry, nothing.
When I click on the lateralgm.jar directly it loads fine......but obviously without the enigma plugin...when loading through enigma.exe I get told I require version 1.7 and that it cannot find java.exe, java SE runtime environment and java.dll..... LOL all of which I already have installed!
AND YES I have the 32bit version :D
and YES I am aware of the java8 topic......you mentioned you had it working when you removed 1.7 lol makes no sense......Because I did all that the only java I have on my system is a clean install of java 8, ever other java application, is working just fine.

perhaps enigma should be updated to support future JAVA versions.

The problem is ENIGMA.EXE
if I can manage to start LGM through its JAR why can't I run it through the EXE......What alternate method do I have in loading LGM jar also including enigma.jar ?


« Last Edit: February 13, 2015, 10:30:04 am by Darkstar2 » Logged
Offline (Unknown gender) TheExDeus
Reply #3 Posted on: February 13, 2015, 10:41:59 am

Developer
Joined: Apr 2008
Posts: 1860

View Profile
So if you open cmd and type "java -version" you get "java version "1.8.0_31""?
Here is what I get:
Quote
C:\>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)

Quote
and yes the PATH is correct, why wouldn't it be
That is hardly technical thinking there. It's like saying you have BSOD because of GPU driver, yet no need to check as it is up-to-date, why wouldn't it be?
Try adding path to the ini like it says in the wiki. I have a feeling it defaults to something else. When I had your problem (which you would know I had if you read the topic I posted) I just uninstalled Java7 and it worked.

The error is actually BY Java, not by us. It has zero things to do with ENIGMA.
Quote
Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required.
http://stackoverflow.com/questions/15277496/registry-key-has-value-1-7-but-1-6-is-required-java-1-7-is-installed
http://stackoverflow.com/questions/26324486/properly-installing-java-8-along-with-java-7
You probably have some java.exe files in system32 or symlinks somewhere else. There are plenty of topics about this problem.

edit:
Quote
perhaps enigma should be updated to support future JAVA versions.

The problem is ENIGMA.EXE
This is nothing to do with ENIGMA or LGM.

edit2: I think this might be your problem: http://stackoverflow.com/a/27756484
« Last Edit: February 13, 2015, 10:46:46 am by TheExDeus » Logged
Offline (Unknown gender) Darkstar2
Reply #4 Posted on: February 13, 2015, 02:33:47 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
So if you open cmd and type "java -version" you get "java version "1.8.0_31""?
Here is what I get:
Quote
C:\>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode, sharing)

That's exactly what it says on mine, except the sharing part.

Quote
That is hardly technical thinking there. It's like saying you have BSOD because of GPU driver, yet no need to check as it is up-to-date, why wouldn't it be?

If you read what I wrote I also said that I checked the PATH was correct, I know better than that, I checked everything.

The environment settings are fine.
The problem was with the JAVA files inside the windows folder.

Quote
something else. When I had your problem (which you would know I had if you read the topic I posted) I just uninstalled Java7 and it worked.

And as I stated I was aware of the topic, which means I read it, and did what you did and it did not work.....I used 3 different kinds of cleaners and java uninstallers it did not think to remove the old JAVA versions from the windows folders.

You did not read the part in my post where I said I was aware of the topic you posted, and read it, and yes I already stated that I had uninstalled java 1.7 fully and made sure java 8 was installed correctly, without any conflict.

and yes maybe the better wording would be LGM, because ENIGMA has nothing to do with JAVA.....it's the IDE part that was not loading for me (actually, the IDE+plugin combined.

Thanks anyway, problem resolved, you pointed me in the right direction with the checking in the windows folder.
« Last Edit: February 13, 2015, 08:47:45 pm by Darkstar2 » Logged
Offline (Unknown gender) Darkstar2
Reply #5 Posted on: February 13, 2015, 08:49:23 pm
Member
Joined: Jan 2014
Posts: 1238

View Profile Email
and yes I had even checked the windows and system folders.....but since I am in Windows 7 64bit I overlooked checking in the wow64 folder....:P problem resolved now.
Thanks for pointing me in the right direction Harri :D
I also thought this message was coming from the interface when running ENIGMA.EXE, I had never experienced this error and I am not familiar with java at all, so all is well now.
Logged
Offline (Unknown gender) TheExDeus
Reply #6 Posted on: February 13, 2015, 09:08:46 pm

Developer
Joined: Apr 2008
Posts: 1860

View Profile
We can put a giant notice around Java errors, so people knows it's Java.
Logged
Pages: 1
  Print