-
Notifications
You must be signed in to change notification settings - Fork 50
#Troubleshooting Frequently Asked Questions
Please check the pre-requisites for the Plugin: http://doc.ccw-ide.org/documentation.html#enable-clojure
or the pre-requisites for the Standalone Product: http://doc.ccw-ide.org/documentation.html#_pre_requisites
Check that maven plugin's preference named "Update Maven projects on startup option" is not set. This is known to cause issues when Counterclockwise is present, but alas out of Counterclockwise's control.
While installing from the Software Update Site, got an error looking like:
The error is as follows:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://ccw.cgrand.net/updatesite/plugins/ccw.core_XYZ.jar.
Read timed out
Modify your eclipse.ini file to extend the read timeout limit, this should fix the problem:
# in file config.ini
-Dsun.net.client.defaultReadTimeout=30000
Indeed, people reported they had to change eclipse monospace font since Ubuntu 12.04. to have a real monospaced font, looked quite odd with bold syntax highlighting.
You have to install and use a true monospace font, e.g. "Bitstream Vera Sans Mono"
There have been spare reports of problems when both Java6 and Java7 where installed on the machine. Try removing one of them and re-attempt the install.
Both the menu version (right-click) and the key version (Ctrl-Alt-L) do nothing if there's not already a repl (If there's already a reply, then Ctrl-Alt-L does load the file.)
The solution is to delete all clojure launch configurations to solve the problem. Discussion on this topic: https://groups.google.com/d/msg/clojuredev-users/H9-HO7XmrjQ/guiILvLp97cJ
For instance, from the trenches: "One thing that is essential for my work is that I need a way to configure the heap size of the java instantiation that runs the REPL, as well as ensuring that it runs the -server version."
Answer: Preferences > Java > Installed JREs > (select the appropriate one) > Edit > Default VM arguments. Those settings should affect all your projects.
For instance, you get some weird errors such as :
-
java.lang.NoClassDefFoundError: Could not initialize class clojure.lang.RT
, -
Caused by: java.lang.IllegalArgumentException: No matching method: createAsIfByAssoc, compiling:(clojure/core.clj:3970)
,
This is generally caused by the fact that 2 versions of Clojure compete. One is provided by Counterclockwise for its own needs. The other (the 'parasite') has been placed on the boot classpath or system classpath of the JDK that launches Eclipse.
The fix is to locate this parasite clojure jar and to remove it. Search your installed JDK folders.
This happens usually when you have found on Internet an old blog post claiming that doing so would boost the start of Clojure. While true, this totally unsafe, since it hard wires a specific version of Clojure system wide and prevents any other software to run with a different version.
There seems to be a problem with Eclipse and Ubuntu 13.10 (at least): the menus show, but not the submenus.
To fix this, you can manage to reset the UBUNTU_MENUPROXY environment variable before starting eclipse.
on the command line: UBUNTU_MENUPROXY= /path/to/eclipse
or via a Desktop shortcut: http://askubuntu.com/questions/361040/eclipse-menus-are-cut-off-or-dont-show#363237