Flashdevelop Error Could Not Find A Jvm
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have error loading jvm.dll mxmlc Meta Discuss the workings and policies of this site About Us
Error Loading Jre Bin Server Jvm Dll
Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with
Jre Download
us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers,
Jdk
just like you, helping each other. Join them; it only takes a minute: Sign up Compc “could not find a JVM” up vote 1 down vote favorite When I try to use compc to build a .swc, I get Error: could not find a JVM. I found this site, and then commented out the java.home line. java download That didn't help. I'm trying to build a .swc out of this library, so I can actually use it. I also have FlashBuilder, if I can build or add this library to my project through that instead, that would be nice. EDIT: Setting JAVA_HOME to the jre or jdk directories gives me variations of a different error Error loading: C:\Program Files\Java\jdk1.7.0_45\jre\bin\server\jvm.dll EDIT 2: After wrapping JAVA_HOME in strings, I get the error I had before I downloaded the JDK: Error: could not find JRE Error: could not find Java 2 Runtime Environment. I can type%JAVA_HOME%\bin\java -version and see java version "1.7.0_45, however. Replacing JAVA_HOME with the path to the JRE doesn't help. EDIT 3 After installing and setting JAVA_HOME to the 32-bit sdk, I get this error: C:\Users\Jim\Downloads\as3httpclient-master\as3httpclient-master\build-swc.xml(14): Error: unable to open 'C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\sdks\4.6.0\frameworks/libs/player/9/playerglobal.swc' I noticed that the file path uses switches from using backslashes to forward slashes, so I changed them back, but that didn't help. java path jv
poked through the project settings and found that it was using C:\Users\Eric\AppData\Local\FlashDevelop\Apps\flashsa\14.0.0\flashplayer_14_sa_debug.exe to debug. (From here on out, all paths are relative to C:\Users\Eric\AppData\Local\FlashDevelop\Apps unless otherwise marked.) So I changed it to use FlashPlayerDebugger.exe. from flexsdk\4.6.0\runtimes\player\11.1\win. It still didn't work. So I checked online for some more help, found out that FlashDevelop uses the fdb program from flexsdk\4.6.0\bin as a debugger. I tried launching fdb directly from the command line, and it said it had http://stackoverflow.com/questions/20363563/compc-could-not-find-a-jvm an error loading jvm.dll from my JAVA_HOME. I have Java 8 installed, and I read online that Flex wants a 32-bit Java 6, so I installed that and edited jvm.config (found in the same directory as fdb). I changed the line java.home= to say java.home=C:\Program Files (x86)\Java\jdk1.6.0_45\ But then it said "Error: could not find a JVM." http://developers.useflashpunk.net/t/cant-get-debugger-and-compiler-working-at-the-same-time/1953 I did some more digging, and found that others were using forward-slashes instead, so I then tried changing it to java.home=C:/Program Files(x86)/Java/jdk1.6.0_45/ but this gave me the same ambiguous "Error loading" message from before. I think the forward-slashes messed it up, but it was worth a try. I then downloaded the latest Flex SDK and installed it overtop of the existing one, despite the version numbers seeming to be identical. Suddenly, fdb worked, without even changing java.home in jvm.config! However, FlashDevelop couldn't compile my code. So, I re-set that variable in jvm.config to point to C:\Program Files (x86)\Java\jdk1.6.0_45 this time, and then FD could compile again. As soon as I had compiled, though, fdb went back to saying "Error: could not find a JVM." FlashPunk still didn't break at my points, either. I noticed that the play/pause/stop icons at the top of FlashDevelop would suggest that the debugger is still going, even after I closed the Flash player running my game. Here is a little screenshot to show their state: http://i.imgur.c
example: C:\Program Files\Java\jre1.6.0_06\bin 3. Restart all applications. Posted by cellis at 04:17 Labels: error, flashdevelop, http://flashdevelop12.rssing.com/chan-15362176/all_p166.html flex sdk, java 3 comments: The Zee Saw17 November 2011 at 03:49This post was very helpful! Thank error loading you very much! :)ReplyDeleteDanilo Nishimura20 March 2012 at 03:21Indeed helpful, however, Flashdevelop already puts the "\bin" at the end of the path, so you'll point the path to the base SDK folder.Furthermore, for the ones flashdevelop error could who don't know which file you'll find this "java.home=" line, it's the "java.jvm" file; If you installed on the default folder, it should be "C:\Program Files (x86)\FlashDevelop\Tools\flexsdk\bin\jvm.config".ReplyDeleteDaniel Downes29 May 2013 at 22:23Also make sure you are using Java 1.6+ 32-bit runtime (JRE), not 64-bit.It can be downloaded from here: (which is actually not that obvious from FlashDevelop)http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u43-oth-JPRReplyDeleteAdd commentLoad more... Newer Post Older Post Home Subscribe to: Post Comments (Atom) Followers Blog Archive ▼ 2010 (13) ► October (1) ▼ April (1) FlashDevelop: Unable to start java.exe: The system... ► March (10) ► February (1) About Me cellis View my complete profile
confirm cancel Report adult content: click to rate: Account: (login) More Channels Showcase RSS Channel Showcase 5157517 RSS Channel Showcase 4553018 RSS Channel Showcase 2001066 RSS Channel Showcase 1050987 Channel Catalog Subsection Catalog Articles on this Page (showing articles 3301 to 3320 of 5615) 01/22/15--08:22: _Constant was not in... 01/22/15--09:21: _Re: Build SWC from ... 01/22/15--11:26: _Suddenly slow playb... 01/22/15--12:04: _Re: Expressions and... 01/22/15--13:52: _Re: Expressions and... 01/22/15--15:11: _Re: Flash Player De... 01/23/15--09:01: _Re: Matching Brackets 01/23/15--13:06: _editing pre-build c... 01/23/15--14:44: _FlashDevelop not fi... 01/26/15--02:44: _Is it possible to p... 01/26/15--03:00: _Re: configure Haxe ... 01/26/15--04:54: _Re: Matching Brackets 01/26/15--06:02: _Profiler doesn't do... 01/26/15--07:34: _Re: Suddenly slow p... 01/26/15--08:29: _Re: Profiler doesn'... 01/26/15--08:43: _Variable FlexVersio... 01/26/15--10:16: _FlexSDK and Air wit... 01/26/15--15:13: _Re: My game's windo... 01/26/15--15:14: _Re: Debug break poi... 01/26/15--15:41: _Re: unable to compi... (showing articles 3301 to 3320 of 5615) Browse the Latest Snapshot Browsing All Articles (5615 Articles) Live Browser Channel Description: Community for FlashDevelop users and developers. older | 1 | .... | 163 | 164 | 165 | (Page 166) | 167 | 168 | 169 | .... | 281 | newer 0 0 01/22/15--08:22: Constant was not initialized Contact us about this article I'm not sure if this the place to ask this, but this error only comes up in FlashDevelop, and not in FlashBuilder, so I'm thinking maybe there's a compile setting in FlashDevelop that's not set right. I'm trying to migrate a project from FlashBuilder to FlashDevelop to bring it in line with the rest of the team's projects, and this bit of code is giving us problems: Code: [Embed(source = "../../../assets/warningIcon.png")]public static const kWarningIconClass:Class; This compiles fine in FlashBuilder, but in FlashDevelop I get "Warning: The constant was not initialized." I have checked and the png file is where it should be. Thanks.--DanEdit: forgot something else that might be relevant. I'm using FD 4.6, and I'm trying to compile a swc not a swf. 0 0 01/22/15--09:21: Re: Build SWC from FD! "ExportSWC" plugin [beta] Contact us about this article i have problems with the latest version of this plugin. Can anyone help ?I have FD AIR Mobile project with one class (i'm trying to compile swc to create A