| |

VerySource

 Forgot password?
 Register
Search
View: 788|Reply: 7

java -classpath

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-1-28 23:40:01
| Show all posts |Read mode
When running the class using the console, the arguments to -classpath are some jar packages
Is it necessary to list all jar packages
such as
java -classpath d: /lib/a.jar;: / lib / b.jar; Test
And cannot be written as
java -classpath d: / lib; Test
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-3-1 10:45:01
| Show all posts
3 types:
separated list of directories, JAR archives, and ZIP archives to search for class files.
Reply

Use magic Report

0

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Invalid IP Address

Post time: 2020-3-1 23:45:02
| Show all posts
Go to the lib ~~
Reply

Use magic Report

1

Threads

51

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-3-5 07:30:01
| Show all posts
Should write in full
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 France

Post time: 2020-3-5 18:30:01
| Show all posts
It's already clear on the first floor
Reply

Use magic Report

1

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-3-9 21:00:01
| Show all posts
All ~!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-10 23:15:01
| Show all posts
rt.jar's tools.jar is fine,
Reply

Use magic Report

0

Threads

21

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 Invalid IP Address

Post time: 2020-3-11 22:30:02
| Show all posts
Must write
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list