Problem: Getting java.lang.ClassNotFoundException: sun.tools.native2ascii.Main while starting grails application from STS.
Solution: Go to build path. Change your default system JRE to JDK. You are good!
Showing posts with label STS. Show all posts
Showing posts with label STS. Show all posts
Friday, November 5, 2010
Friday, October 29, 2010
Specifying JVM in STS
Although STS is build on top of elcipse it uses STS.ini instead of eclipse.ini for inititializing startup parameter. You need to specify JVM in this file as follows:
Make sure:
-vm
C:/Program Files/Java/jdk1.6.0_22/bin/javaw.exe
Make sure:
- -vm and the path are in two seperate line.
- This option is set before -vmargs.
Subscribe to:
Posts (Atom)