java - does -cp get honoured when we run a executable jar -


मेरे पास एक निष्पादन योग्य जार है MANIFEST.MF में क्लास-पैथ

अब मेरा प्रश्न classpath में जोड़ा जाएगा

  जावा- cp "abc.jar" -जर & lt; निष्पादन योग्य.जर & gt;   

या केवल क्लास-पैथ में परिभाषित MANIFEST.MF का उपयोग किया जाएगा?

-cp और -जर जोड़ नहीं किया जा सकता - आप उनमें से सिर्फ एक का उपयोग कर सकते हैं

Comments

Popular posts from this blog

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -