You can translate the question and the replies:

Launching VDP on Mac - Not working

I have exported JAVA_HOME and successfully finished installation, but when i try to launch VDP Admin...i get the following bin/vdpadmin.sh Error: Could not find or load main class .env.DENODO_OPTS_START Caused by: java.lang.ClassNotFoundException: /env/DENODO_OPTS_START I have tried to update the script with my JAVA_HOME but still getting the same Error.
user
10-11-2020 01:56:58 -0500

4 Answers

Hi, The error **Could not find or load main class.env.DENODO_OPTS_START** occurs if the Denodo's **JAVA_HOME** is not correctly configured for running the **vdpadmin.sh** file. To fix this, you can configure the **JAVA_HOME** to point to the directory JAVA_HOME/[**JRE**](https://community.denodo.com/docs/html/browse/latest/platform/installation/appendix/supported_java_runtime_environments/supported_java_runtime_environments#supported-java-runtime-environments-jre) and then execute the **'regenerateFiles.sh'** which is located in the '<DENODO_CLIENT_HOME>/bin' directory. You may more information in the following Community Q&A : * [mac support 64 bir](https://community.denodo.com/answers/question/details?questionId=90670000000CcBPAA0&title=mac+support+64+bir) Hope this helps!
Denodo Team
10-11-2020 05:47:55 -0500
Getting the following when i execute 'regenerateFiles.sh' ./regenerateFiles.sh  ✔  5782  10:34:07 Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap') at com.denodo.util.launcher.Launcher.addResource(Launcher.java:113) at com.denodo.util.launcher.Launcher.addDirectory(Launcher.java:78) at com.denodo.util.launcher.Launcher.main(Launcher.java:217)
user
 Edited on: 10-11-2020 14:32:47 -0500
Here is what i have updated in vdpadmin.sh DENODO_JRE_HOME="/Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home" DENODO_JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-15.jdk/Contents/Home"
user
 Edited on: 10-11-2020 14:32:47 -0500
Hi, Although [**Mac OS**](https://community.denodo.com/docs/html/browse/latest/platform/installation/preinstallation_tasks/software_requirements/software_requirements#supported-operating-systems) is not officially supported, you can access Denodo Platform on Mac OS. To do so, you could perform the following checks: * Check if the installed [**Java version**](https://community.denodo.com/kb/view/document/Java%20versions%20supported%20by%20the%20Denodo%20Platform?category=Installation+%26+Updates) is supported by the Denodo Platform. * Then, check if the JAVA_HOME is set correctly. To set the JAVA_HOME, you can do these steps : 1. For bach shell edit ~/.bash_profile 2. For zsh shell edit ~/.zshrc 3. Add the following line : `export JAVA_HOME=$(/usr/libexec/java_home)` After this, you can start the servers with **<DENODO>/bin/vqlserver_startup.sh** and then launch the Administration Tool with **<DENODO>/bin/vdpadmin.sh** Additionally, if you still need help and if you are a user with valid support access then you can raise a support case in Denodo Support Site so that our support team can help you. Hope this helps!
Denodo Team
17-11-2020 06:04:36 -0500
You must sign in to add an answer. If you do not have an account, you can register here