Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI have a similar error, but I can't seem to find the root cause.
My environment: Dell Latitude D630 Intel Core 2 Duo 2.4GHz, T7700 2GB Ram Windows XP SP3 My Quartus II Version: 9.0, Service pack 1 I receive the error "Could not create the java virtual machine" as reported by an alert box titled "Java Virtual Machine Launcher". The error arises whenever I launch the MegaWizard plug in manager (either from the QuartusII GUI or launched directly from the quartus/bin directory) and try to create an instance of IP core from either the DSP library or Communications library. The moment I choose the IP, name the file (in the path dialog box) and hit ok, to subsequently launch the GUI for that particular IP core, I receive the error. After I click "ok", the Megawizard exits. Steps I've tried to fix this: - Remove older versions of Quartus II - Remove and re-install Quartus II SP1 (done about 4x already) - Remove and re-install the Java run time environment. I tested my java setup and confirmed it was installed correctly via the web test - Remove all QuartusII software and dig into the system registry, and remove all registry keys associated with Altera, then re-install QII9.0 None of these steps resolved the issue. To try to isolate the cause of the problem, I noticed within the quartus\bin directory, there's a \jre directory. I renamed it to "jre_old", then tried to relaunch the MegaWizard plug in manager and repeat my steps again, I got a different set of errors, suggesting that the Megawizard is trying to invoke Java from its own local \bin directory, instead of the one I refreshed in my "c:\program files\java\jre6" directory. After doing the obvious thing by copying the jre6 directory to the \bin directory, renaming it to \jre6, I tried to launch again, with the same previous result "Could not create the java virtual machine". The problem seems to be how the MegaWizard plug in manager is accessing the java run time environment. I tried a workaround: I navigated to the directory - C:\altera\90\quartus\common\ip\altera\common\ip_toolbench\v1.3.0\bin and launched "launcher.jar" I was able to open a small GUI, navigate to the directory where the nco.jar file was, and eventually load the NCO configuration GUI as I normally would. However, after configuring my IP, I when I tried to generate, I received an error stating that a valid Quartus installation could not be found. If anyone can provide any wisdom on this issue, please help! Thanks!