I built a fat.jar file by Eclipse and it runs well on my pc, but when it runs on other;s pc, it got:
Exception in thread "main" java.lang.NoClassDefFoundError: ûjar

Caused by: java.lang.ClassNotFoundException: ûjar

        at$ Source)

        at Method)

        at Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

what that means?

thanks first!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kevin CrossChief Technology OfficerCommented:
Kevin CrossChief Technology OfficerCommented:
This is possibly as noted in the article the "-jar" being corrupted to ûjar and so java thinks it is a class name to be used versus an option to the java command.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
coca_colaAuthor Commented:
thanks mwvisa1:
before posting question here, I read the link above, but I did not understand how they fixed ujar problem.
 could you make it clear?

coca_colaAuthor Commented:
thanks mwvisa1, I will ask my client to type "jar" instead of copying my email text.
Kevin CrossChief Technology OfficerCommented:
Yes, you can see if they can retype at the command line OR copy and paste the command from e-mail into notepad first then copy and paste from notepad into command line.
java -jar fat.jar

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.