A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.tutorialspoint.com/javaexamples/env_multiple_classpath.htm below:

How to set multiple classpath in Java

How to set multiple classpath in Java Previous Quiz Next Problem Description

How to set multiple classpath?

Solution

Following example demonstrates how to set multiple classpath. Multiple class paths are separated by a semicolon.

c:> java -classpath C:\java\MyClasse1;C:\java\MyClass2 
   utility.testapp.main
Result

The above code sample will produce the following result.

Class path set.

java_environment_setup.htm

Print Page

Previous

Next

Advertisements


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4