ClassPath setting problem - (for beginners)

xiaoxiao2021-03-06  40

When you use Java to do a project, you often have a problem with Class, which is the ClassPath setting problem, first you can use the set command to see the current state.

Then write a BAT file and add the classpath into it. As shown in AA.BAT file: Rem This is a file used to add ClassPath. Set hibernate = m: /Hibernate-3.0set ClassPath =% classpath%;% hibernate% / lib / msbase.jarset classpath =% classpath%;% hibernate% / lib / mssqlser.jarset classpath =% classpath%;% hibernate% / LIB / MSUTIL.jar

转载请注明原文地址:https://www.9cbs.com/read-75171.html

New Post(0)