How to add 3rd party JAR's to compile time classpath in jGRASP?

后端 未结 2 431
我在风中等你
我在风中等你 2021-01-07 00:21

What do I need to do to successfully the import ij package? I get an error:

ITCN_.java:1: package ij does not exist

The import

2条回答
  •  爱一瞬间的悲伤
    2021-01-07 01:08

    I also used Jgrasp back in the day.

    I highly recommend moving to eclipse although jGrasp is very simple and works.

    To Add to the Build Path you go to Settings -> PATH/CLASSPATH -> Workspace

    Click on the "Path" tab, and then the "CLASSPATHS" subtab.

    Then Click "New" and where it says Path or Jar file, enter in the path to the ij jar file. Do this for each file if there are more than one.

    And then click "apply" and you should be able to use import ij.* and the subsequent functions

提交回复
热议问题