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 8635733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:03:01+00:00 2026-06-12T10:03:01+00:00

I have tried to compile a java program, shorten.java from mp4parser site. But my

  • 0

I have tried to compile a java program, shorten.java from mp4parser site. But my jar file is unable to resolve the required import shown below.
This program needs to import library from iso mp4parser as mentioned below. In short I need jar file for shorten.java file to resolve these import.

import com.coremedia.iso.IsoFile;
import com.coremedia.iso.boxes.TimeToSampleBox;
import com.googlecode.mp4parser.authoring.Movie;
import com.googlecode.mp4parser.authoring.Track;
import com.googlecode.mp4parser.authoring.builder.DefaultMp4Builder;
import com.googlecode.mp4parser.authoring.container.mp4.MovieCreator;
import com.googlecode.mp4parser.authoring.tracks.CroppedTrack;

I have downloaded the source code from the mp4parser site to create the jar file for these library.

In below image java->com->coremedia->iso and java->com->coremedia->iso->boxes having required java program

and java->com->googlecode->mp4parser->authoring etc. having other needed java program for these import

I have created the jar by following command-

cd  java           // moved in java folder

jar cfv mp4parser.jar   *

now add these jar to my shorten.java program.
But I am getting error that import is not resolved.

****Do anybody can tell me where I am doing mistake ???****

Here is the directory where java codes for these imports are available.

directory structure for included java code

  • 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-06-12T10:03:02+00:00Added an answer on June 12, 2026 at 10:03 am

    I suggest you to this:

    • Create a quickstart java project with maven;
    • Add the dependencies that you want;
    • Put the java class in src/main/java
    • mvn clean install

    If it don’t work, try some IDE, like eclipse. Open the project and try to fix the imports… It’s always possible that some lib has changed, and maybe they change the name of the package.

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

Sidebar

Related Questions

I am able to use: C:\Program Files (x86)\Java>javac -classpath mail.jar myFile.java to compile,but when
From what I have read java (usually) seems to compile java to not very
I'm writing a Java program where I have to extract some data from a
I created simple Java Servlet: WelcomeServlet.java. Than, I tried compile this file via: javac
I have tried to compile some C++ WIN32 code with GCC through DevC++ (MinGW
Autoconf has gotten me stumped. I have tried modifying the COMPILE in Makefile.in as
I have compiled an Ada program on Ubuntu using GNAT. Afterwards, I tried a
I have tried searching over the internet about this problem but not able to
I have tried many permutations but they all don't seems to work well. Am
I have project which includes external jar file in it, I followed this link

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.