Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.31 KB

File metadata and controls

65 lines (44 loc) · 1.31 KB

Java Project Pure

Getting Started

Test Logic Objects and Relations Of Objects

Test

Foler test/Test.java

Output

@nglthu1979 ➜ /workspaces/JavaProjectPure/test (main) $  /usr/bin/env /usr/lib/jvm/msopenjdk-current/bin/java -XX:+ShowCodeDetailsInExceptionMessages -cp /workspaces/JavaProjectPure/test/bin App 
Hello, World!
test
test short
book ID: abc
user ID: 123
book ID: 4563
user ID: 1233
test filter:
book ID: 456333
user ID: gfz
book ID: gfz
user ID: 123333
userName: Nguyen Thi Van
userName: tran van Nguyen
@nglthu1979 ➜ /workspaces/JavaProjectPure/test (main) $ 

Folder Structure

The workspace contains two folders by default, where:

  • src: the folder to maintain sources
  • lib: the folder to maintain dependencies
  • test: the folder to maintain test
If ClassPath is broken Configure in Java Projects by
add test in the Path

in the option of Configure Classpath
Source Paths
+ Add Source Root...
  


Under Java Projects Name
The same level src
Add by (+) choose Package
Then Choose a source folder, e.g test


Dependency Management

The JAVA PROJECTS view allows you to manage your dependencies. More details can be found here.

Test