Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How to run existing java code in eclipse

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am a newbie to java programming. I am trying to run a toolkit "Artemis" which is downloaded from github, https://github.com/sanger-pathogens/Artemis, I have tried to run the zipped version and the git version in eclipse, import it as a file system, but it fails to run. Could anyone please let me know how to run this program?

Thank you very much in advance,

Regards,
Jenny
 
lowercase baba
Posts: 12871
62
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"fails to run" isn't terribly descriptive. Does it give an error? Does it not display something you think it should (and if so, what is that)?

Generally speaking, saying "ItDoesWorkIsUseless".
 
Jenny Palmy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error
 
Jenny Palmy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

fred rosenberger wrote:"fails to run" isn't terribly descriptive. Does it give an error? Does it not display something you think it should (and if so, what is that)?

Generally speaking, saying "ItDoesWorkIsUseless".



Sorry, the eror message is "Error: Could not find or load main class uk.ac.sanger.artemis.components.ArtemisMain"

Thans,
Jenny
 
Marshal
Posts: 69856
278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So where is the artemis class? How did you add the (presumably) jar to the classpath?
 
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic