Foros de discusión

Unable to Get Liferay Developer Studio 1.5.2 to Run

thumbnail
Randy Parsons, modificado hace 12 años.

Unable to Get Liferay Developer Studio 1.5.2 to Run

Junior Member Mensajes: 33 Fecha de incorporación: 4/01/11 Mensajes recientes
Hello,

I am attempting to install the newest version of Liferay Developer Studio 1.5.2 on a Windows 32bit machine, but after I follow the basic instructions provided in the Read Me, I continually get a dialog box with the error message, "Unable to create the Java Virtual Machine". I have previously had both version 1.2 and 1.3 running on this computer with no issues. I have since removed them in attempt to have a clean install. I did once have a similar issue with I believe 1.2 but was able to fix it after I remembered to add my JAVA_HOME environment variable.

I have confirmed that the JAVA_HOME variable is correct since when using the Windows cmd of java -version, it provides me with the correct information.

Any assistance would greatly be appreciated,
Randy
thumbnail
Priyanka Dhingra, modificado hace 12 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

Liferay Master Mensajes: 501 Fecha de incorporación: 20/12/11 Mensajes recientes
Hi,

Please verify which version of JDK/JRE you are using, beacuse JDK 1.5 or above is a prerequisite for liferay-Developer Studio 1.5.2.

Priyanka
thumbnail
Sayandip Ghosh, modificado hace 12 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run (Respuesta)

New Member Mensajes: 11 Fecha de incorporación: 23/06/11 Mensajes recientes
Hi Randy,

Just remove the entry 256M from the file LiferayDeveloperStudio.ini. It will work.

The LiferayDeveloperStudio.ini file should look like this:

-product
com.liferay.studio.eclipse.product.studio
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
-showsplash
com.liferay.studio.eclipse.product
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m
-Dsun.java2d.noddraw=true

Regards,
Sayandip
thumbnail
Randy Parsons, modificado hace 12 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

Junior Member Mensajes: 33 Fecha de incorporación: 4/01/11 Mensajes recientes
Sayandip,

This worked! Thank you very much.

Best Wishes,
Randy
thumbnail
Kushal Jayswal, modificado hace 11 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

New Member Mensajes: 18 Fecha de incorporación: 19/11/12 Mensajes recientes
Amazing! This works for me.
Could you let me know "what is 256M?"
Is it space in MB used by DS?
thumbnail
Gregory Amerson, modificado hace 11 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

Liferay Legend Mensajes: 1123 Fecha de incorporación: 16/02/10 Mensajes recientes
Kushal Jayswal:
Amazing! This works for me.
Could you let me know "what is 256M?"
Is it space in MB used by DS?



This space is used for Permanent Generation space in the JVM.
Subhash Shah, modificado hace 11 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

Junior Member Mensajes: 78 Fecha de incorporación: 30/11/11 Mensajes recientes
I was facing the same problem. But the solution, you provided, worked for me.
Aalap Desai, modificado hace 11 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

New Member Mensajes: 14 Fecha de incorporación: 16/09/11 Mensajes recientes
Hi Sayandip,

Thanks a lot it works...
thumbnail
shreyas bhargava, modificado hace 10 años.

RE: Unable to Get Liferay Developer Studio 1.5.2 to Run

New Member Mensajes: 5 Fecha de incorporación: 5/06/12 Mensajes recientes
thankx alot "Sayandip Ghosh" it worked