< prev index next >

src/jdk.incubator.jpackage/linux/native/jpackageapplauncher/launcher.cpp

Print this page

        

*** 55,65 **** void* library = NULL; { std::string programPath = GetProgramPath(); std::string libraryName = dirname((char*)programPath.c_str()); ! libraryName += "/libapplauncher.so"; library = dlopen(libraryName.c_str(), RTLD_LAZY); if (library == NULL) { fprintf(stderr, "dlopen failed: %s\n", dlerror()); fprintf(stderr, "%s not found.\n", libraryName.c_str()); --- 55,65 ---- void* library = NULL; { std::string programPath = GetProgramPath(); std::string libraryName = dirname((char*)programPath.c_str()); ! libraryName += "/../lib/libapplauncher.so"; library = dlopen(libraryName.c_str(), RTLD_LAZY); if (library == NULL) { fprintf(stderr, "dlopen failed: %s\n", dlerror()); fprintf(stderr, "%s not found.\n", libraryName.c_str());
< prev index next >