How to run the exe file in linux

I have created the sample xojo file in Windows , now I build the same file into linux.

Then I have copy the exe file and try to open in linux PC.

But it doesn’t open.

Help me out.

You have to copy the executable file and the folder created alongside it ( the xxx Libs folder ) to a folder on the Linux system

Ensure the executable file has the execute permission is set.

Then you should be able to run it OK.

As Chris told, make sure you set the execute permission.

If your Linux does not have a GUI, and you have compiled a console app, then in the terminal go the the folder of the executable, and type “./my_app” .

Tried … Its not open…

System was not responding while open the executable file.

Please advise whether i need to install any software in Linux PC.

[quote=206829:@Manikandan Karuppaiah]Tried … Its not open…

System was not responding while open the executable file.

Please advise whether i need to install any software in Linux PC.[/quote]

First, if you have copied the EXE file, it will not work.

You need to build a Linux version. It will show as a file with the name of the app, and a library folder.

Then you copy that onto your linux box.

Right click on the app file, select “properties” and make sure it is set as being able to run.

After which double clicking on the executable file will launch it.

Thanks for the response,… I tried as you mentioned above. , but still its not working.

I have used the ubuntu 14.05 OS.

Help me out form this.

Does the OS give you some kind of error message?
Does it meet the compiled app requirements? It it’s a 64bit system you’re gonna need the 32bit libraries.
http://documentation.xojo.com/index.php/System_requirements

I didn’t receive any kind of error message , system was not responding while open the executable file.
32 bit system only.

Open a terminal, cd to the folder containing your app and then run it:

./yourappsname

then tell us the output in your terminal.

That should help us figure out what’s going wrong.

In the build file i have Test Libs folder, that folder contains 2 files as follows:

  1. libc++.so.1
    2.XojoGUIFramework32.so
    my application name is “Test”.

As you said above i have run the program using the terminal and below listed the response what i received.

ews-gombak@ewsgombak:/var/www$ Test
No command ‘Test’ found, did you mean:
Command ‘test’ from package ‘coreutils’ (main)
Test: command not found

also i have used the below Ubuntu version

ews-gombak@ewsgombak:/var/www$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

I have used the below desktop

MATE Desktop Environment 1.8.2

[quote=206859:@Manikandan Karuppaiah]In the build file i have Test Libs folder, that folder contains 2 files as follows:

  1. libc++.so.1
    2.XojoGUIFramework32.so
    my application name is “Test”.

As you said above i have run the program using the terminal and below listed the response what i received.

ews-gombak@ewsgombak:/var/www$ Test
No command ‘Test’ found, did you mean:
Command ‘test’ from package ‘coreutils’ (main)
Test: command not found

also i have used the below Ubuntu version

ews-gombak@ewsgombak:/var/www$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

I have used the below desktop

MATE Desktop Environment 1.8.2[/quote]

Download Xojo and install it within that Linux. Try to run your test program within it. If it works, then something else is wrong.

You have to put ./ in front to add a path when running from the command line…

ews-gombak@ewsgombak:/var/www$ ./Test

Thanks for response… Right now am leave from office… Catch u tomorrow.

[quote=206859:@Manikandan Karuppaiah]In the build file i have Test Libs folder, that folder contains 2 files as follows:

  1. libc++.so.1
    2.XojoGUIFramework32.so
    my application name is “Test”.

As you said above i have run the program using the terminal and below listed the response what i received.

ews-gombak@ewsgombak:/var/www$ Test
No command ‘Test’ found, did you mean:
Command ‘test’ from package ‘coreutils’ (main)
Test: command not found

also i have used the below Ubuntu version

ews-gombak@ewsgombak:/var/www$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

I have used the below desktop

MATE Desktop Environment 1.8.2[/quote]

Looks like the execute mode is not set for that application and maybe the library folder as well.

From the parent folder of “Test Libs folder” could you please enter:

ls -lR “Test Libs folder”

And if your executable “Test” in not in that sub-folder; Enter: ls -l Test

From your executable “Test”, you should see something like this on the left column, if every one is allow to execute your application: -rwxr-xr-x
if you don’t see that, change the file mode for “Test” by Enter: chmod 755 Test

If “Test” is only missing the “x” you can also just enter: chmod +x Test

More info about this see: https://en.wikipedia.org/wiki/Chmod

If /var/www is not in your $PATH, either start it with /var/www/Test or if you’re in the directory, with ./Test

A Linux standalone WebApp can also be dropped on a Ubuntu desktop (with supporting folders) and started this way for testing if elevated privileges are used. e.g.

sudo ./Test

@Albin Kiland… Sorry for the inconvenience
I have using the 64 bit system only.

ews-gombak@ewsgombak:~$ uname -m
x86_64

So please advice how to proceed further.

The 32-bit Ubuntu 14.04.2 LTS desktop works for me unmodified.
However, there are some instructions for installing the 32-bit libraries on 64-bit system shere: https://forum.xojo.com/12919-information-regarding-xojo-on-linux
Or you might like to wait a little bit longer for Xojo 64-bit Linux.

[quote=207500:@Eric Wilson]The 32-bit Ubuntu 14.04.2 LTS desktop works for me unmodified.
However, there are some instructions for installing the 32-bit libraries on 64-bit system shere: https://forum.xojo.com/12919-information-regarding-xojo-on-linux
Or you might like to wait a little bit longer for Xojo 64-bit Linux.[/quote]

Thanks Eric… while i am trying to install 32 - bit libraries , i got the below error.

ews-gombak@ewsgombak:~$ sudo apt-get install ia32-libs
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package ‘ia32-libs’ has no installation candidate

ews-gombak@ewsgombak:~$ sudo apt-get install ia32-libs-multiarch
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package ia32-libs-multiarch

Geting Xojo to run on 64-bit Ubuntu can be tricky. Ubuntu keeps removing libraries and making it harder to install the ones you need. If you are not well-versed in Linux, you might be better off trying Linux Mint instead.

With that said, these commands got Xojo running for me on Ubuntu 14 64-bit:

sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libglib2.0-0:i386 libsoup2.4-1:i386 libicu52:i386 libgtk2.0-0:i386

More information is available on the 64-bit Configuration section of the System Requirements.