Java app with dynamic classpath

java -jar app.jar -cp $(echo lib/*.jar | tr ' ' ':')
Lauching an app including jars in an adjacent lib folder to its classpath

0
By: xymor
2012-10-29 12:51:46

What Others Think

I am Avy, my interested to write a blog on different topics like JavaScript, HTML and React JS, etc. Check this out git
BarbaraMJennette · 42 weeks and 6 days ago
The main idea of an aap development is that developers can build the entire user interface by simply combining different ideas for increasing their business and also the interest of hiring developers for any application we need reasonable prices for flutter vs react native apps check this https://surf.dev/flutter-vs-react-native-comparison-what-to-choose-to-build-a-mobile-app/ this articles.
BarbaraMJennette · 29 weeks and 6 days ago
Application development is an interesting process that requires clear interaction with different IT departments. For efficient work, you can use an outsourcing service https://wow24-7.io/ ,this will help to solve the tasks more efficiently
HenryWatson · 12 weeks and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: