eclipse memory argument issues

I was having an issue running eclipse with 1024m. After some troubleshooting found the error : Eclipse was using JRE instead of JVM, which doesn’t support 1024m. So force eclipse to use JDK by using this :

-vm
H:\Program Files\Java\jdk1.6.0_17\bin\javaw.exe

Advertisements