Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4609274
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:57:49+00:00 2026-05-22T00:57:49+00:00

I saw running jar from command line . However my case is different. I

  • 0

I saw running jar from command line.

However my case is different. I put the jars needed for the main class under lib folder. So my jar is like this:

lib
META-INF
VideoFieldsResults.class

in the META-INF I have:

Manifest-Version: 1.0
Main-Class: VideoFieldResults

when I try to run:

java -jar VideoFormat.jar onBa32hgnBg,Lh-BKkLYYBU C:\VideoFormat2.csv

Where the last 2 are arguments I get:

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/gdata/util
/ServiceException

Which does exists under one of the jars inside!

How can I run a command line specifying that all the jars under lib folder inside are required for the jar?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T00:57:49+00:00Added an answer on May 22, 2026 at 12:57 am

    By default, Java cannot load jars from within jars. To accomplish this, you would need a classloader that can handle it. For example One-Jar. There are other options as well (depending on how set you are with including jars inside of a jar or if flattening jars is an option), I’d recommend the answer to this other question

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw a link to find out if AD was running, but am not
I was poking around in XNA and saw that the Vector3 class in it
I've got Parallels 6 running VS2010 under Windows 7 on my Macbook Pro. I'm
I was recently integrating two applications running on different hardware architectures - among the
Why is it that when running code from gdb, I get the same addresses
I was watching the livestream at http://www.humblebundle.com , and I saw them running the
I just downloaded the semantic CSS and was running the examples but saw the
Saw this piece of code in a Ruby on Rails book. This first one
I saw many questions asking 'how' to unit test in a specific language, but
I saw this in an answer to another question , in reference to shortcomings

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.