cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kirankhot
Level 3

Error faced while running installer on Ubuntu 18.04

We have create .bin file using Installanywhere 2018 version for Linux platform with basic steps as mentioned below.

1. Copying a file from installer location to a predefined destination location.

2. Running a simple HelloWorld program using CustomCodeAction 

We are trying to run the installer with GUI mode on Ubuntu OS version 18.04 and facing the below errors. 

Note: We have the IAClasses.zip file already available while building the installer.

Anyone else facing a similar issue on Linux OS?

0 Kudos
(10) Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi, kirankhot. Thank you for your post. InstallAnywhere 2018 does not claim official support for Ubuntu 18.04. Does this issue occur with a previous and supported version of Ubuntu? Ubuntu 17.10 (x64), Ubuntu 16.04 LTS (x64), Ubuntu 15.04 (x64), Ubuntu 14.x (x64), Ubuntu 13.x (desktop and server editions; x86 and x64), Ubuntu 9.x, 10.x, 11.x, 12.x (x86 and x64). Do you have SP1 for InstallAnywhere 2018 applied? Do you have a splash screen that fails to display? If so, if for testing purposes you do not include your custom splash screen at all, rebuild your project, then run your installer, does the issue occur? Thanks, Flexera_Ian
0 Kudos

Thank Ian for your response. We will try out on Ubuntu 16.04 and let you know if we are taste any success On the other points highlighted by you, we do not have SP1 for 2018 applied as we do not have the maintenance in our contract . Also we have created a very small installer with just a few actions like copying a file and running a custom java code . This does not have any splash screens in it and hence that possibility is ruled out. I will update on test results for Ubuntu 16.04 today.
0 Kudos

Hi Ian,

We tried with the lower version of Ubuntu (16.04 LTS). We are still facing similar errors. Attached are screenshots of the issues faced.

5.jpg , 6.jpg and 7.jpg files to highlight that we are not using any custom splash screen or icons for installer exe

9.jpg onwards are installer steps and errors encountered

Also suddenly it gives a popup of installanywhere notice for installer being created using unlicensed version whereas ours is a licensed copy of the software.

If you could please have a look and advise. 

Thank you

Image 14.jpgImage 15.jpgImage 16.jpgImage 17.jpg

0 Kudos

Hi @kirankhot,

Thank you for your reply.

Are you manually including IAClasses.zip in your project? Are you manually including IAClasses.zip as a dependency for a custom code action or anything of that nature?

Thanks,

Ian

0 Kudos

Thank you @Revenera_Ian for your prompt response here.

Yes there is a IAClasses.zip used for running custom code.

In our application we have custom codes mainly to interact with SQL Database where we create database and other DB objects and insert default data via our custom code.

There are other smaller custom codes where we find out the OS bit version (32 bit or 64 bit) during the pre-install phase

Please suggest what we can do in this case.

0 Kudos

You are welcome, @kirankhot. I am happy to help.

InstallAnywhere automatically handles including the IAClasses.zip resource in the installer's Java classpath. Please remove IAClasses.zip as a dependency for all of your custom code actions, save your project, rebuild your project, then retest this issue. Does that work for you?

Please read the documentation about Packaging and Executing Custom Code here for more information and follow the suggested steps:

https://helpnet.flexerasoftware.com/installanywhere2018/roottopic.htm#helplibrary/ia_package_execute_custom_code.htm

Thanks,

Ian

0 Kudos

Hi @Revenera_Ian 

We removed the IAClasses.zip from the dependency jars in our custom code action but still we are facing same issue. Attached screen shot for your reference. 

One more thing I would like to bring to your notice is that when we are building the project for Linux distribution it does not give us the option of choosing "With VM" option which will allow us to package our JVM for building the project

Second observation here is that we checked the IAClasses.zip file and tried to locate the class and the method which shows as NoSuchMethodException and we could locate it in the class file. So i believe that the IAClasses.zip itself is not an issue here. Somehow the while running the .bin file on linux it does not get the IAClasses.zip file in the tmp folder where it extracts the file internally. Whereas on Windows system in the temp directory we are able to see a IAClasses.zip file. This according to me is the main reason.

Please correct me if I am wrong here and advise why the IAClasses.zip is not seen in the linux tmp/instal**** folder like in the Windows temp directory.

0 Kudos

Hi @kirankhot,

Thank you for your reply.

For the With VM issue, please follow these steps:

1. Download a Linux VM Pack (JVM) from this webpage:

https://community.flexera.com/t5/InstallAnywhere-Knowledge/InstallAnywhere-Files-and-Utilities/ta-p/94794#LINUX_64

2. Copy the downloaded VM Pack .vm file to the <IA_HOME>\resource\installer_vms folder, where <IA_HOME> is where your copy of InstallAnywhere is installed.

3. In the InstallAnywhere IDE, navigate to Edit > Preferences.

4. Click the OK button, which will refresh the With VM dropdown menu.

You will now see the Linux VM Pack (JVM) in the dropdown menu for With VM.

At this point, it would best if you open a new support ticket with us regarding the java.lang.NoSuchMethodException.

Thanks,

Ian

0 Kudos

Hi @Revenera_Ian, Thank you again. I will try the steps for Linux VM as mentioned and hopefully we would be able to make that work.

We currently do not have a maintenance license. If you could guide us with the right steps required for taking further support on the mentioned issue of NoSuchMethod issue with flexera.

0 Kudos

Hi @kirankhot,

Thank you for your reply. You are welcome; I am happy to help.

To find out more information about acquiring a maintenance plan, please follow these steps:

  1. Navigate here: https://www.flexerasoftware.com/about-us/contact-us.html
  2. Select the Speak with a product specialist dropdown menu option.
  3. Complete the form.
  4. Submit the form.

Someone will contact you within 1 business day.

Thanks,

Ian

0 Kudos