c2runtime_min.js error if minify script is checked

Bugs will be moved here once resolved.

Post » Tue Nov 05, 2013 9:17 pm

Link to .capx file (required!):

I'm not able to export my project if "Minify script" is checked. After choosing platform to export (e.g CocoonJS), export options, and exporting project dialog, another dialog appears.

It appeared after i reinstalled Windows. Everything was ok before that.

This dialog does not appear with my project only. If i choose Construct templates etc. it still happens. That's why i added template capx.

Steps to reproduce:
1. Open project.
2. Choose platform (doesn't matter which one, none of them works).
3. Check "Minify script" --> Export.

Observed result:
If export is finished, dialog appears. Exported folder is empty.

HTML5 exporter
Error during export: Cannot open file

Expected result:
Successful export.

Browsers affected:browsers are not issue of this bug
Chrome: no
Firefox: no
Internet Explorer: no

Running in layot works perfectly.

Operating system & service pack:
Windows Vista Home Premium
Service Pack 2
Latest updates are installed
Graphics driver is up to date (Geforce 8600M)
Latest .NET framework is installed
Latest Java is installed

Construct 2 version:
Release 146 (32-bit)agouibo2013-11-06 21:08:34
Posts: 4
Reputation: 340

Post » Thu Nov 07, 2013 4:06 pm

Can't reproduce, works fine here. Make sure you have Java installed, since the minifier requires it, and if you reinstalled Windows then you won't have Java installed by default.
Scirra Founder
Posts: 25,206
Reputation: 200,353

Post » Thu Nov 07, 2013 4:44 pm

I have 100% sure that i've installed Java.

Java site check: "You have the recommended Java installed (Version 7 Update 45)."

And yes, i believe that You can't reproduce this problem. Otherwise it had been already reported. It's one of those "it doesn't work, and i have no idea why" problems/bugs.

At least i'm able to export without minifying project, i'll try on someone else's computer.
Posts: 4
Reputation: 340

Post » Sun Aug 03, 2014 11:33 pm

Did you ever figure out the issue? I have the same issue after moving to a new machine. Java installed updata 45 yada yada
Posts: 4
Reputation: 202

Post » Sun Aug 31, 2014 1:31 pm

Message: hermitpenguin is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?


Found a random forum about unrelated Java bugs, and decided to see if I have the same version. Upon opening CMD and typing in the command "java -version", it reports back with a similar worded error: "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'" Boom. It is a problem with java. Now keep in mind, this is even after having updated Java to the most recent version (version 7 update 67).

Decided to take another look at the Java files on my drive... noticed something out of place.

The Solution for me: Delete the JRE folder in WINDOWS; it doesn't belong. C:\WINDOWS\jre

Very strange, but it works likes a charm. Minify Script now works, as does java -version command in CMD.

Hope this helps you guys out!
Posts: 4
Reputation: 183

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests