Setting up Eclipse with a unprecise manual - eclipse

I want to configure eclipse to use it with a new risc-v processor. For the configuration there is a manual given. But this manual is very unprecise and I'm not sure I will configure it the right way. I hope someone with experience in eclipse configuration can help me (I did work previously with eclipse, but no custom configuration). I'm using Windows 7, and already downloaded Eclipse, Eclipse IDE for C/C++ Developers Version: 2018-12 (4.10.0).
Here is the manual:
https://forum.kendryte.com/topic/35/build-kendryte-using-eclipse
I installed cmake, cmake4eclipse plugin (in eclipse) and downloaded the Toolchain (now available from kendryte) and SDK.
For the setting up steps, what is meant with:
2. "put ninja to your search path"?
4. How to "configure cmake. using generate "Eclipse Ninja""
5. Where to "launch openocd with -m0" in eclipse
I would be very grateful if someone with (eclipse) expericene could help me,
thank you very much!

Related

No outline shown in Goclipse

Configured everything about go eclipse plugin, press Command-O, no outline can be shown. Anyone can help?
Mac
Eclipse version: Mars
JDK 1.8
You are probably missing the tools for GoClipse.
In Eclipse go to: Window - Preferences - Go - Tools
These are tools that people developed and that can be integrated in Eclipse (and give the functionality you want).
To add them you'll have to download and install them and then add their path to Eclipse preferences.
For example, follow the instructions for gocode.

How to install the JSystem plugin for Eclipse

As per the JSystem documentation it's stated that the installer of JSystem has a little checkbox which install the eclipse plugin, but the screenshot on the manual it's for Windows XP(http://www.jsystemtest.org/sites/default/files/help/Chapter%203%20Getting%20Started%20with.htm#_Toc206753837) and right now I'm using ubuntu 12.04 with Eclipse Juno. I just installed JSystem here and can't find that little checkbox.
Also the documentation is sparse and short. Does anybody know how to install the JSystem plugin for Eclipse?
Thank you!
Actually, the Eclipse plugin is no longer part of the JSystem installation.
If you still want to use it, you can grab one of the older installation packages from SourceForge
(Version 5.7.02 would do the trick).
If are having problems with the Linux installation, you can install it on windows and copy manually the com.ignis.eclipse.plugin_5.7.02 jar from the jsystem/runner/Eclipse folder to the Eclipse plugins folder.
After restarting the Eclipse, you would be able to create a new JSystem project using the plugin.
One of the main reasons that the plugin is no longer provided and supported is that JSystem is now using Maven and most of the plugin functionality is now done via Maven archetypes.
To learn more about it please refer to the Getting started guide

Failure creating clojure project in Netbeans

I decided to take a look at Clojure and thought the best and easiest method for me would be to use Netbeans with the Enclojure plugin as I didn't want to have to learn Emacs at the same time. I installed Netbeans 6.9.1 together with the latest JDK using the bundled install (on Windows 7). All went smoothly. I then followed the instructions at http://www.enclojure.org/gettingstarted for installing the enclojure plugin.
When creating a new Clojure application I get the following and see no project files :
java.io.IOException: Could not connect to URL nbresloc:/org/enclojure/ide/templates/project/ClojureProjectTemplate-1.1-distribution.zip. No such resource was found.
Maven is working using mvn --version
I have installed on both Windows 7 and Ubuntu 10.04 (same result).
I have looked on the Enclojure forum and there is a recent open thread for this issue, but it is not solved by anybody presently.
I have Java SE enabled in Netbeans
I have tried enabling the different platform versions of Clojure, 1.0.0, 1.1.0, etc..
The REPL seems to be working happily in Netbeans : (printf "hello") hellonill
I did try ClojureBox on Windows 7, but again that's Emacs, but emacs failed to start the server and hung there and became totally unresponsive.
I come from a .Net background (not Java) so my knowledge of the Java environment is somewhat lacking. My reason for looking at Clojure and not Java.
I am new to Netbeans
If you're interested in a working Maven pom, here is one I've used with Enclojure successfully:
http://puredanger.com/techfiles/100624/pom.xml
There are some project settings you'll need to change and a few dependencies to remove but it might be a good start. In general, I usually create the pom first and then just import the project into NetBeans rather than using the NetBeans options to create projects.
By the way, the REPL work in Enclojure has been split and is coming soon to the Eclipse plugin Counterclockwise.
I had written a small post on it on my blog.
Anyways here is the procedure:
On searching realized that this is a common problem for installing it on > Netbeans 7.. But with some manual tweeks managed to install it. Here are the instructions to install on Netbeans 7. plus:
Install Netbeans 7. You need only the Java SE version.
First Run of Netbeans after installation. Activate feature Java SE
Activate features is on the Start page or from Tools,->Plugins>Installed, click ‘Activate next to the Java SE support
Install Maven: It is HIGHLY recommended that you install maven: http://maven.apache.org/download.html
Go to the Netbeans->Preferences, click on the Miscellaneous tab and make sure the External Maven Home path is pointed to your maven install
Download the EnClojure 1.5 version from here. If you want to manually build, you can do that by following the instructions from here.
After downloading the file, In Netbeans: Goto:- Tools ->Plugins->Downloaded->Add Plugins->Downloaded
Then browse to the downloaded file. Later install by clicking at the “install : button.
Restart and you are on the go.
Visit here to build and run hello world project.Basically building the EnClojure 1.5 manually is the tough job. I hope above was useful.

How do i find out the JDK version Eclipse is using?

I see JRE all over the place, but i can not be sure which JDK is compiling my code. How do i find out?
You can still check/set which JDK version you want to compile to. If you go to Window->Preferences, then click "Java" from the menu on the left and then "Compiler". The first setting allows you to see which JDK version is being complied with.
I know this doesn't directly answer your question since JDK isn't actually compiling it, but hopefully it helps!
Actually Eclipse has its own compiler. You can develop java apps using only the JRE and Eclipse
You don't find JDK explicitly mentioned anywhere because way to point to a JDK is under the name of 'Installed JRE'. That is Window > Preferences > Java > Installed JREs. This is useful when using m2e plugin.
secondly apart from having it's own built in compiler, it is recommended to you install one of your own to support development of Java programs. Except below from eclipse wiki page :
If you intend to use Eclipse for Java development, then you should install a JDK

How to install J2ME compatible platform/emulator in NetBeans IDE 6.7.1

I'm pretty new to J2ME development scene. And for that matter, have just recently installed, JDK 6 update 16 bundled with NetBeans 6.7.1 IDE and Sun WTK 2.5.2, on Ubuntu 9.04 machine.After going through some start up tutorials and basics, from various sites, I was eager to try some hands on experience by coding some 'Hello World' program. But to my dismay, I haven't been able to! After initial confusion, I'd installed 'Mobility' plugin for NetBeans IDE for J2ME development. But when I choose to create a new project, it turned out that, there is some error since now it says that 'No J2ME compatible platform/emulator found installed in NetBeans IDE'. I've searched through google to find a way to fix this issue but I couldn't find any solution on this matter.
Please help me to fix this issue. Do I need to re-install the IDE? Am I missing out something? I've tried various ways but the IDE simply doesn't detect any platform on my machine.
Thanks for your help.
Try this in Netbeans:
Click menu-item: Tools->Java Platforms
Click button: Add platform...
Choose radio-button: Java ME MIDP Platform Emulator
then click button: Next >
Find the directory where Netbeans 6.7.1 is installed
then click OK
WTK2.5.2 that comes with Netbeans should be visible. Select it and click Next and follow further instructions.
If no WTK is found the dowload it, unpack it and try as above again but find the directory to the WTK this time.
Hope this helps.