Import .jar in Visual Studio Code, classpath

后端 未结 2 1932
温柔的废话
温柔的废话 2021-01-15 00:29

I am using Visual Studio Code to Write a Java Project. For that i want to use the MigLayout.jar in my Project.

I created a new Project so i would get a .classpath

2条回答
  •  一生所求
    2021-01-15 00:52

    1.make sure you hava create a folder named lib inside your project and add your .jar file into it

    2.Configure paths in the .classpath like:

    
    

    3.if it still thow error,Clean the workspace directory:F1 - input Clean -clean workspace

    you could look at the doucument add jar

提交回复
热议问题