Pages: 1 2 [3]
  Print  
Author Topic: Are old versions of Java even SAFE?  (Read 378 times)
Offline (Male) hpg678
Reply #30 Posted on: August 25, 2017, 05:33:04 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 79

View Profile Email
What we are trying to achieve is to make a JAVA environment work with ENIGMA. The JRE 7 cause problems so uninstall JRE 7 and install the JDK i recommended, which is 32bit version.


ENIGMA uses 32bit libraries so it makes sense to use a 32bit version of JAVA whether it be version 7 or 8. HOWEVER, because you state you are having problems with the one re-commended to use, (JRE 7),  then let's try an updated 32bit version.


On another note, when you run the video , double-click to put it in full screen so you can see it in full view.



Logged
Hugar
Offline (Unknown gender) Hoohee
Reply #31 Posted on: August 25, 2017, 10:59:10 PM
Member
Joined: Aug 2017
Posts: 30

View Profile
Okay; I installed it, but the settings text
Code: [Select]
idecommand="C:\Program Files (x86)\Java\jre1.8.0_144\bin\java.exe - jar -xms256m -xmxx1000m" doesn't work, for some reason.  Did I type something wrong?  Also, what is the purpose of the additional, more garbled text after the "java.exe" part?
Logged
Offline (Male) hpg678
Reply #32 Posted on: August 28, 2017, 03:26:06 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 79

View Profile Email
to answer your question about the extra text at the end, I can't say for certain, but I believe it represents a minimum and a maximum range of memory assigned to run the software. I don't think you actually need those extra parameters, so you can delete that part. Note that having installed JRE7, your modifications should be something like

idecommand="c:\Program Files (x86)\Java\JRE7\bin\java.exe -jar "


Now to the matter at hand. After reviewing everything we did, I built another machine, installed Windows 7 32bit version, installed all the updates, ENIGMA, etc.

Basically, I did everything done on the 64bit machine, compiled and ran an empty project.  Everything worked good at this point. However some source files/projects that worked before on my LINUX machine would not run on both machines. They loaded fine but when I went to run  them, they crashed.

All that were in [.gm6] format, I had no problems with. Others with the extensions [.gmk] and [.gmx] caused some problems.  I even had to go as far as re-write them, for them to work.

So what then does all of this mean? Well, you may not want to hear what I have to say, but your Windows OS may be corrupted. Run an Antivirus program to check for viruses and malware.

you could also try deleting your ENIGMA folder and re-installing it to the DESKTOP or your DOCUMENTS folder. the reason being that that they have ADMINISTRATIVE privileges, so you don't need to always 'Run as Administrator' any program you have there.

There's not much anything else I can recommend.  i was hoping that the other more experienced users would've joined in and offer suggestions but I guess they are busy with other things.

If you still encounter problems, still let me know. I'm still trying to figure this one out.

Logged
Hugar
Offline (Unknown gender) Hoohee
Reply #33 Posted on: August 28, 2017, 10:15:43 PM
Member
Joined: Aug 2017
Posts: 30

View Profile
Ultimately, it's Java 7 that flat-out doesn't work on my PC, for whatever reason, and it hasn't with any of the files I've downloaded since starting this. (Also, I did virus scan; nothing.) When I double-click the file itself, I get a "stopped working" error, and when I direct to it with the settings file, Enigma doesn't start.

When using Java 8, it works...sometimes.  Sometimes it crashes, though, and it doesn't run GM8 files correctly.  Whether it's supposed to run GM8 files when Jave is set up correctly, I'm not sure, as I haven't really read much documentation on how to port from GM to to Enigma.

It is my hope that as Enigma develops, more effort is put into helping it work with versions of Java that aren't outdated, since 7, which is supposed to be the opportune one, doesn't work for me.

Edit: Worth noting: Java 7 on my PZC has always been marked as rewarding admin permission, in a way 8 isn't.  I'm not sure why this is, but right-clicking Java 7 to run in Admin mode starts an installer, which then crashes with an error saying to contact the vendor.  Java 7 truly is the weakest link.
« Last Edit: August 28, 2017, 10:25:48 PM by Hoohee » Logged
Offline (Male) hpg678
Reply #34 Posted on: August 29, 2017, 07:42:31 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 79

View Profile Email
it is unfortunate that Java 7 doesn't work for you........yet if Java 8 does, then by all means download a 32bit version and work on from there.

I usually work with the LINUX version as i am aspired to create LINUX games rather than WINDOWS or MAC. However for your sake, I wish you success in developing with ENIGMA.

I do realize than ENIGMA works far better in WINDOWS as far as GUI functions go as opposed to the LINUX version. It works more stable without any major problems depending on the type LINUX you have. Once you get it working, it's perfect.

It works good on UBUNTU 14 and most derivatives of UBUNTU 14. With the newer ones, not so much, mostly its touch and go. Also you can use Java 8 without any hitches.

You can save your projects in either GameMaker 6 up to Game Maker Studio 1.2 format.  Problems can occur from the DRAG & DROP coding. Which is why it is best to know GML/EDL.
Logged
Hugar
Pages: 1 2 [3]
  Print