₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,009 members, 8,419,900 topics. Date: Thursday, 04 June 2026 at 06:59 AM

Toggle theme

Pls Help..java Executable File Refuse To Launch - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPls Help..java Executable File Refuse To Launch (1059 Views)

1 Reply (Go Down)

Pls Help..java Executable File Refuse To Launch by duke2017(op): 7:16pm On Mar 22, 2017
pls what should I do? I converted jar file to executable file but the executable file refuse to launch because of System.loadlibrary(core.Native_library_name)...what should I do?
Re: Pls Help..java Executable File Refuse To Launch by Olyboy16(m): 7:58pm On Mar 22, 2017
duke2017:
pls what should I do? I converted jar file to executable file but the executable file refuse to launch because of System.loadlibrary(core.Native_library_name)...what should I do?
either you have included a native library that is not in java path or u ar using a class that is trying to load an invalid library. just debug your code, u'll find the bug line
Re: Pls Help..java Executable File Refuse To Launch by duke2017(op): 9:57pm On Mar 22, 2017
everything is working perfectly well when on netbeans ide, bt when I clean n build the jar file, d executable file refuse to launch. when I comments out System.loadlibrary(core.Native_library_name) since it loading opencv, the executable file now launch bt I really need opencv in d software cos it taking care of webcap image..what steps do u suggest at this point?
Re: Pls Help..java Executable File Refuse To Launch by TheArbiter: 7:28am On Mar 23, 2017
@duke2017

Your problem is a very old one with just one solution for now: specify the path of the opencv.dll library.

Check this answer on stack overflow. It may help: System.loadLibrary(Core.NATIVE_LIBRARY_NAME) error

Kindly post your work around so that others may benefit.

Best wishes.
Re: Pls Help..java Executable File Refuse To Launch by Olyboy16(m): 6:00pm On Mar 23, 2017
duke2017:
everything is working perfectly well when on netbeans ide, bt when I clean n build the jar file, d executable file refuse to launch. when I comments out System.loadlibrary(core.Native_library_name) since it loading opencv, the executable file now launch bt I really need opencv in d software cos it taking care of webcap image..what steps do u suggest at this point?
its quite easy using opencv with netbeans, if u actually search on google on how to use opencv java with netbeans, u'll get over 20 pieces of quality answers!
1 Reply

The Shortest Guide To Launch Your Career In Artificial Intelligence- InfographicFacebook Set To Launch New Cryptocurrency.I Have A Project That I'll Like To Launch As Open Source!234

Anatomy Of A Contract(part 2) Invitation To Treat And Offer DistinguishedSee This, If You Want To Be An Expert Programmer Or HackerOp 5 Trends In Cybersecurity For 2017 And 2018