How can I solve this error "Could not find of load main class net. maizegenetics.pipeline.TasselPipeline"?
1
0
Entering edit mode
9.2 years ago

Hi all

I am trying to run TASSEL 3.0 in my computer S.O Window 8.1x 64 bits (RAM 4GB), but I have the following error:

C:// [directory]run_pipeline.bat-fork1 -UCreatWorkingDirPlugin -w M:/UNEAK/ -endPlugin -runfork1
Error: Could not find of load main class net. maizegenetics.pipeline.TasselPipeline

I check over the java version, and I've the correct version (7). Perl is installed. I checked over the TASSEL GROUP in google, no results. Someone has had the same problem or know how to solve this?

GBS SNP TASSEL UNEAK • 7.1k views
ADD COMMENT
0
Entering edit mode

Did you add TASSEL to the environment variable PATH as shown here: https://bytebucket.org/tasseladmin/tassel-5-source/wiki/docs/ExecutingTassel.pdf

The guide has the how to for Mac, this will help you for Windows: http://www.howtogeek.com/118594/how-to-edit-your-system-path-for-easy-command-line-access/

ADD REPLY
0
Entering edit mode
3.6 years ago
larryhems • 0

While executing, when JVM does not find a .class file with the specified name then a run time error occurs saying “Could not found or load main class”. The reason why this happens is mostly due to:

  • Wrong Class Name
  • Invalid Classpath
  • Wrong package

Main class could not be found when there is typo or wrong syntax in the fully qualified java class name or it does not exist in the provided classpath. You must ensure that you add the location of your .class file to your classpath. So, if its in the current folder, add . to your classpath. Note that the Windows classpath separator is a semi-colon( . If you want to execute the main() method in MainClass, you must use the full class name, including package name, in the java command.

ADD COMMENT

Login before adding your answer.

Traffic: 1997 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6