FAQ

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 7. 7 months by skyluc
  2. 6. over 1 year by david.bernard.31
  3. 5. over 1 year by david.bernard.31
  4. 4. over 1 year by dr2chase
  5. 3. almost 2 years by dfrankow
  6. 2. almost 2 years by dfrankow
  7. 1. about 2 years by d6y
 

Frequently asked questions.

1.1 . I have an existing Java project and I wish to add Scala files. How do I convince Eclipse to work with Scala?

Right click on the project in the Package Explorer view, and in the popup menu select
Configure -> Add Scala Nature.

2.2 . I am running out of stack space in Eclipse.  How do I increase the stack size?

If you are starting Eclipse from the command line, you can supply vm args, including stack size, like this:

eclipse [normal arguments] -vmargs -Xss8M [more VM args]

You can also edit eclipse.ini in the Eclipse installation/application. There, lines that look like

-vmargs
-Xms40m
-Xmx256m

can be replaced with something like (for an 8 megabyte stack, 700MB initial heap, 2GB maximum heap) 

-vmargs
-Xss8m
-Xms700m
-Xmx2048m

3 . I am using m2eclipse and Scala IDE complains about 'no scala library...' or 'More than one scala library...'

In Scala IDE 2.0, a classpath validator has been added and it reports problem with project imported using m2eclipse. The m2eclipse-scala project was created to, among other things, fix these classpath problems. It is available here.

See also Setup