I have searched all over the internet but a newbie on java I cant figure out how to simply install Cucumber-jvm on Eclipse.
What files do I need to download?
I already installed Eclipse. What do I need to do to get Cucumber-JVM on Eclipse?
If you mean the Cucumber plugin for Eclipse you can do this by:
Open Eclipse, Click Help → Install New Software.
Click on the "Add" button at the right side of 'Work with' field.
Give the Name (say, cucumber-eclipse) and input the URL 'https://cucumber.github.io/cucumber-eclipse/update-site' at Location field -> Click OK.
Check the box 'Cucumber Eclipse Plugin'.
Untick 'Contact all update sites during install...'.
Click Next.
Follow the instructions at the prompts.
Cucumber-JVM isn't an Eclipse library or plugin. You can download it in a variety of ways (I find Maven the easiest), and include it in your code.
Why didn't you try this plugin? I think it should be greater for your cucumber coding than the official plugin: BecauseCucumber
Installation steps are there: BecauseCucumber Installation
You can find how to install Cucumber-jvm in the Cucumber documentation
In addition, you'll need the Eclipse plugin.
Steps to Install Cucumber on Eclipse
Open Eclipse
Help > Install New Software > Add
Name: Cucumber
Location: https://cucumber.github.io/cucumber-eclipse/update-site
Then hit Add button
You will see Cucumber Eclipse Plugin. Check the box
Hit Finish button
Then hit Install Anyway
Then hit Restart.
Related
I am new to NetBeans and I can't create a "Java Application" project, like shown in all tutorials. I can only create a Java Free-Form Project, but this requires a build script, which I don't have either.
Do I have to download a plugin for it and if so which plugin? Or did I download the wrong NetBeans version?
I am using ubuntu version 15 and NetBeans IDE 8.1.
http://imgur.com/90AeiDG screenshot.
Just make sure you have JDK installed on your system. (I am pretty sure, it would be as Netbeans doesn't install if JDK is not found on your machine, but just to be sure about it). Also, You might have missed to select Java in Select Languages during installation.
To activate a feature manually:
Open the Tools > Plugins menu
Go to the Installed tab.
Select and activate the feature you need.
Return to the New Project dialog.
Visit this link for more help:
http://wiki.netbeans.org/FaqMissingProjectCategories
Found the plugin:
It was in the the "Ant" or the "Ant 1.9.4. Documentation 1.9.4" or Mobility plugin. I downloaded those 3 at the same time, but If I have to guess it was the Mobility plugin.
Not sure if this will help you. I've been working on Windows. I have Netbeans 8.1 and JDK 8 (version 1.8.0.73). When I first started with Netbeans and tried to create my first new Project it opened the New Project window with the Categories portion of the new Project screen focused on the Samples section. I also thought I couldn't create the type of project I wanted to create. If this is what is happening to you, see if you can scroll up in the Categories box. If you can, you should find Java at the top. If you click that, you should then be able to select Java Application in the Projects part of the window.
I am new to Netbeans and I am trying to install JUnit in the IDE. I have searched multiple places and can not find a clear answer. I am running Windows8 with the latest updates and Netbeans 8.0.2. I have downloaded the jar file for JUnit opened Tools => Plugins then Downloaded tab. I select the jar file but nothing happens. I have also tried to run the jar file from commandline and double clicked it and nothing happens. I am looking to expand my skills sets by practicing using JUnit so any help would be appreciated.
thank you.
It is installed by default.
To see that it is installed goto Tools -> Plugins -> Installed and search for JUnit. If it is not there, check Tools -> Plugins -> Available Plugins before trying your own download.
To use select any java file in the projects directory, right-click Tools -> Create/Update Tests. This will create a stub test file under Test Packages under your Project in the projects tab.
Select the project and right-click for Test to run all the tests or select any file and right-click for the Test File option.
I have not used Netbeans for many years now. However, a quick search shows that during the installation process, there is an option of installing JUnit along with Netbeans. The default option(checked) is Install JUnit.
If by any chance, the second option(Do not install JUnit) got checked, you may want to re-install Netbeans again.
For some reason I am still using the old 8.0.2 version of Netbeans, and I found out that the install script apparently installs the junit plugin, but not the junit libs. Downloading the following files and adding them as test libs helped:
junit-4.13.jar
hamcrest-core-1.3.jar
At the time of this writing, they could be found here: https://github.com/junit-team/junit4/wiki/Download-and-Install
I had the same issue and this is how I solved it,
First download the jar file for Junit from this link
Junit test jar
Then follow along as shown in the images
Right click on the Library section on your particular project
Click on the create button and name Junit(on your preference)->Ok
Then select the Library you created and then select Add Jar/folder
Then select the .jar file you downloaded before and select Add jar folder
Now you have setup the Junit library on netbeans
I am trying to use Fitnesse plugin available at:
http://fitnesse-eclipse.github.io/#intro
I have downloaded and installed the plugin in eclipse. I can see a new option 'FitNesse' on my tool bar and when I right-click on the project I can see the option of 'FitNesse->Open in Browser' as well. The thing which I am not able to get is that the user-guide mentions an option to convert the project to FitNesse Project. I do not get this option when I right-click on the project.
Is this something anyone else came across while using this plugin or am I the only one. Please help.
if you have the Open in Browser, it looks like you have already converted to a fitness project. what version of the plugin are you using?
it may be that you have installed the (https://code.google.com/p/fitnesse-editor/)
I'm trying to install a plugin in Eclipse Luna. I installed Papyrus and am trying to install SWT designer, but before the download/installation is completed I get an error:
An error occurred during the
org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=epp.package.standard,
phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,
operand=, action=). Error reading signed content. error in opening zip
file
After this error I can't install anything and the install manager does not work anymore and shows me the same error all the time only one way I delete the current Eclipse directory and extract it again.
This time I install Papyrus, SWT designer and some other, but I get the error between install another plugin again. This is wrong if I get an error on install any of plugin reinstalling Eclipse and the other plugin again.
Is this a bug or a problem?
OK finally i found the solution for solve this problem. I don't know why Eclipse is showing me this error and i don't know if this is the best solution. I solve my problem with delete the artifacts.xml file in Eclipse root directory.
After deleting this file try to install that plugin again but this time after few second everything completes and works perfectly.
UPDATE:
If you get that error again then just go to Eclipses' root directory and search for "artifacts.xml" and delete all the files is in the result ;)
Remove the artifacts.xml from the folder.
Keep a copy of it in some other location (preferably external devices such as pendrive or hard disks etc).
Restart Eclipse.
Install the software plugin you want to install (it will ask for permission again).
After installation paste the artifacts.xml file back into the eclipse folder.
Restart eclipse and set the SDK location.
Code to death!!! ;p
Run Eclipse as an administrator, then try to install the plugin again via help->Install New Software. it worked for me
I installed E4 RCP Patch(bugzillas 445122)(Install new software -> Eclipse 4.4.1 Patches for bug 445122) and this helped me.
I ran across this problem while updating eclipse's internal software. I discovered that the jar file org.eclipse.epp.mpc.help.ui_1.5.2.v20161004-1655.jar (found in the error details) in the eclipse plugins directory was corrupted (7-Zip was unable to inspect its contents). I redownloaded and manually replaced this file with one downloaded from their site, and I was then able to install the software without an issue. Hope this helps :)
(If it was a different JAR file for you, you can click "show directory contents" on this page and download the one you need.)
The reason for this error is typically a damaged jar in the bundle pool. You can fix this without manually editing files:
run the Eclipse installer ("Oomph")
select "Bundle pools" from the menu
hit the "Analyze agent" button
wait until the column "Damaged Artifacts" doesn't show a percent number anymore (scanning has finished)
You can now filter the bottom view to show only damaged artifacts, and choose to either delete or repair them (repair means to download them again from the Internet).
Recently i had this issue & i did a few workaround to make things right,
Drag and dropped from official page, normally eclipse restarts after the download, and a pop-up will ask us to select the svn connectors from list. but that didn't happened to me.
Install svn Plugin. (By drag and drop or install new software or any)
After this goto window->preferences->Team->svn
select Connector Tab and click Get connectors Button then the prompt will appear select any one connector to get it done (i use NativeHL 1.8).
I solved this problem by editing the artifacts.xml.
Close Eclipse.
Edit the artifacts.xml.
Find and delete previous entries related to the plugin you are
trying to install.
Save artifacts.xml.
After this you should be able to start Eclipse normally and install your plugin.
I tried many solution from here including the one which says removing artifacts.xml and try installing with opening software with Run as Administrator also tried to install from the Help option "Install new software" none of this worked for me.
Then I updated to the latest version of JDK and it worked perfectly.
I hope this help you.
Thanks.
Vijay P.
org.aspectj.weaver_1.8.10.201704242114.jar
File will be downloaded for google, and it can be placed in eclipse/plugin/org.aspectj.weaver_1.8.10.201704242114.jar can be replaced with older jar file.........it can be solved for your problem...........
Try this from the Eclipse marketplace
1. Click Help>Eclipse marketPlace (Eclipse marketPlace dialog box will open)
2. Type the name of your plugin (ex: type SWT Designer) in the find edit box, make sure to keep default values for All markets and all categories, and click go button.
3. The page will refresh and display all plugins that have swt designer in their name.
4. Click intsall or update button on the one that fits your needs.
5. The installation or update will be done successfully.
6. Restart your eclipse
7. The installation will be fine.
It's a failure in Eclipse.
Try to uninstall it then download it from: https://www.eclipse.org/downloads/
and install it.
i want to install maven plug in on eclipse. but when add the maven site in install software section, and beginning to download and install it, an error occurred about dependency. how can fix it?
i want a complete installation guide...
Do these steps:
In Eclipse, go to "Help->Install New Software".
Press "Add" in the upper right button in the opened window.
Set the name textbox to be "Maven2Eclipse".
Set the value textbox to be http://download.eclipse.org/technology/m2e/releases
In case the link is not valid, get one from http://www.eclipse.org/m2e/download/
Press Ok, select the Maven project, and install it.
first which dependencies are missing?
A good maven plugin for eclipse is the eclipse maven sonatype, m2eclipse.
Install Maven Plugin for Eclipse
Installing a Maven Plugin for Eclipse can be a bit tricky if you want to get the whole spectrum of features. By default you would go to “Eclipse -> Help -> Software Updates -> Find and Install”, then “Search for new features to install”, then click on “New Remote Site”, and enter the Maven Projects name (e.g. Maven2Plugin) and its home URL there “http://m2eclipse.codehaus.org/“.
Once you install it at first everything would seem quite right. However, if you try “Import” a Maven Project, you will not see such an option in under the “General” menu, since it would be missing.
The reason for that is that “http://m2eclipse.codehaus.org/” brings in an old version of the plugin. (At the moment of writing) It brings in “Maven 2 Plugin 0.0.9″, whereas what you need is 0.0.12.
Hence you read the “Maven Integration for Eclipse” installation guide and point your “New Remote Site” to “http://m2eclipse.codehaus.org/update/” instead of “http://m2eclipse.codehaus.org/“. The one thing to be cautious about is an “update” link will try to also bring “subclipse” and “mylin” projects, hence you will need to “uncheck” them if you do not want to bring them:
⸺ from https://blog.dotkam.com/2008/02/24/install-maven-plugin-for-eclipse/
Steps to install maven plugin into eclipse:
In eclipse :
go to Help->install new software.
Copy this link http://download.eclipse.org/technology/m2e/releases on "Work With" edit box.
Select enter and maven link will appear on Name section.
Select that link and follow the steps to instal it on eclipse.
You can find more information regarding different maven builds for eclipse here:
http://eclipse.org/m2e/download/
STEPS TO INSTALL MAVEN (in Eclipse):
Maven Eclipse plugin installation step by step:
1. Open Eclipse IDE
Click Help -> Install New Software...
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as "http://download.eclipse.org/technology/m2e/releases"
Now click OK After that installation would be started.
Another way to install Maven plug-in for Eclipse:
1. Open Eclipse
2. Go to Help -> Eclipse Marketplace
3. Search by Maven
4. Click "Install" button at "Maven Integration for Eclipse" section
5. Follow the instruction step by step
After successful installation do the followings in Eclipse:
1. Go to Window --> Preferences
2. Observe, Maven is enlisted at left panel