![]() ![]() ![]() Step 3.2: Configuring Eclipse to use custom JDK instead of built-in or default system one This is important because changing eclipse.ini without this would result in package being corrupt in some cases. MacOS Finder.ĭouble click on the Eclipse.app, so that application can start. dmg file you just downloaded and Copy the Eclipse.app to ~/DEV_TOOLS via. Make sure, you download macOS x86_64 package as shown in the image below. Step 3: Install Eclipse & Configure JRE Step 3.1: Download & Install Eclipseĭownload the Eclipse IDE for Java Developers package from . We will be needing the same while configuring Eclipse to use the JDK we downloaded in this step. $ cd ~/DEV_TOOLS/sapmachine-jdk-17.0.5.jdk/Contents/Home/binĬopy the output of second command and keep a note of it. NOTE: Replace “” with the filename you have downloadedĪfter unpack, a new directory sapmachine-jdk-17.0.5.jdk created. Once you have downloaded & moved the tar.gz file to directory we create in step 1. Visit website and download as shown in following screenshot: You can either directly use command line tool like cURL to download the file on to the path or download via. $ mkdir DEV_TOOLS Step 2: Download & Install JDK Open a terminal window, Create a directory anywhere that you wish to, I prefer one within the user directory. We will be using this directory to store our JDK & Eclipse executable. JAVA_HOME variable, PATH variable to avoid any effect on other applications (non-SAP) which works with ARM based JDK. Now let’s jump right into the action.įollowing config & tools are used in this guide:īefore we start, quick disclaimer: I will be working on a custom directory instead of changing anything in standard configuration e.g. I know this has been a long read on the problem itself. To avoid this, we will perform a code sign of the Eclipse package as demonstrated in next section. However, not applicable for this case since we know we have to make changes in either of this file to use custom JDK. It seems changing ist or eclipse.ini changes the package and MacOS considers it a threat and blocks the application which is good thing in itself. Let’s understand the steps to reproduce the issue. This is very interesting issue and gave me an opportunity to understand a bit about gatekeeper component of MacOS. MacOS Code Signature Invalid report dialog But you restart your MacOS and Eclipse stops working, Your Mac says “Code signature Invalid” as shown in image below. ![]() So, let’s say you have installed x86_64 version of Eclipse & SapMachineJDK and it works just fine. “ Architecture AArch64 (Apple silicon) is also supported, but you must use the x86_64 version of Eclipse.” Problem 2: After successful installation of Eclipse (x86_64) & SapMachineJDK (x86_64), Eclipse won’t open on system restart. ![]() NOTE: SAP clearly states in Installation Guide following: I will install the JDK x86_64 in later section to remediate this. So the installed JDK may be the cause for this issue. This may change in future as SAP starts rolling out support for ARM (evident from release of SAP GUI for Java 7.80 with ARM support)Īlso one of the point to note from the error popup is, it tries to find sapjco3 in Java Path. This occurs because currently SAP doesn’t support SAP Java Connector (JCo) for ARM based architecture as evident from download section of product page . A popup comes up stating JCo initialisation has failed as shown below in the screenshot Problem 1: JCo initialisation failedĪfter installation of ADT, Restart of Eclipse. Let me discuss the two problems that I faced and later on, I will list out the installation steps. However after some evaluation, blog post seemed like a better option. Being one of those user for whom the installation was not as smooth, I initially thought of adding it as a comment for anyone going through the same. This is for someone who come across some issues even after that (as evident from comments section of above mentioned blog). If that worked for you, then this blog is not for you. There is already a great blog post for something similar by Gang Wu . However, that may not be the case for you if you are on MacOS on any of the current Apple products that comes shipped with Apple Silicon (M1, M2, etc.) This is a breeze when you do it on Windows PC. With SAP TechEd 2022 few days away and surely many of you have registered for virtual workshop session that requires installing Eclipse and ADT beforehand as a prerequisites. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |