Skip to content
Browse files

Document build problems

  • Loading branch information...
1 parent ba049aa commit c3a023d447e54f54e4b9421a4396bf9a77107570 @aslakhellesoy aslakhellesoy committed
Showing with 13 additions and 1 deletion.
  1. +13 −1 DEVELOPERS.md
View
14 DEVELOPERS.md
@@ -69,9 +69,21 @@ Below are some common problems you might encounter while hacking on Cucumber-JVM
This can be solved by changing the Compiler settings: `Preferences -> Compiler -> Java Compiler`:
-* *Use compiler:* `Javac in-process (Java6+ only)`
+* *Use compiler:* `Javac`
* *Additional command line parameters:* `-target 1.6 -source 1.6 -encoding UTF-8`
+You should also use JDK 6: `Project Structure... -> Project -> Project SDK`:
+
+* *Use 1.6", not 1.7
+
+If you still have problems, try building the project with Maven, using Java 6:
+
+```
+export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
+```
+
+Note that even though development is sometimes easier to do with 1.6, releasing should be done with 1.7.
+
## Releasing
This is a reminder to the developers:

0 comments on commit c3a023d

Please sign in to comment.
Something went wrong with that request. Please try again.