install aoisetup.sh

Asked by Luis M.Jacinto on 2015-02-26

After last Ubuntu update the above application gone from my computer.
Ask AOI for the best version for Ubuntu and the reply Artofillusion301-Linux.zip I download and
unzipped there are two files “aoi-linux.onstall.jar” and “aoisetup.sh” they advised the install
file to be “aoisetup.sh”.
Trying to install but no results, in Properties>Permissions tick Allow executing file as program
but still no results.
How to execute this successful?.
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2015-02-27
Last query:
2015-02-27
Last reply:
2015-02-27

What folder are the files in (case sensitive)?

Thanks

Luis M.Jacinto (ljacinto) said : #2

home artofillusion

chmod +x ~/aoisetup.sh
sudo ~/aoisetup.sh

Otherwise run:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
java ~/aoi-linux.onstall.jar

Should start it.

Luis M.Jacinto (ljacinto) said : #4

Tried the first part of your post
luis@luis-G41M-Combo:~$ chmod +x ~/aoisetup.sh
chmod: cannot access `/home/luis/aoisetup.sh': No such file or directory
luis@luis-G41M-Combo:~$

Then follow the second part, send only the end of Terminal if you need all just let me know.

update-binfmts: warning: current package is oracle-java8, but binary format already installed by openjdk-6
Oracle JDK 8 installed
update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/i386/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode.
Oracle JRE 8 browser plugin installed
luis@luis-G41M-Combo:~$ java ~/aoi-linux.onstall.jar
Error: Could not find or load main class .home.luis.aoi-linux.onstall.jar
luis@luis-G41M-Combo:~$

Manfred Hampl (m-hampl) said : #5

What is the output if the terminal command

find ~ -name '*aoi*' -ls

Luis M.Jacinto (ljacinto) said : #6

luis@luis-G41M-Combo:~$ find ~ -name '*aoi*' -ls
14036627 13568 -rw-r--r-- 1 luis luis 13893346 Jan 16 07:41 /home/luis/ArtOfIllusion/aoi-linux-install.jar
14036632 4 -rwxr-xr-x 1 luis luis 854 Jan 16 07:41 /home/luis/ArtOfIllusion/aoisetup.sh
3027032 0 lrwxrwxrwx 1 luis luis 21 Jan 8 2014 /home/luis/.local/share/icons/hicolor/64x64/mimetypes/gnome-mime-application-x-aoi.png -> application-x-aoi.png
3027031 8 -rw------- 1 luis luis 4189 Jan 8 2014 /home/luis/.local/share/icons/hicolor/64x64/mimetypes/application-x-aoi.png
3027023 8 -rw------- 1 luis luis 4247 Jan 8 2014 /home/luis/.local/share/icons/hicolor/64x64/apps/aoi.png
3027029 0 lrwxrwxrwx 1 luis luis 21 Jan 8 2014 /home/luis/.local/share/icons/hicolor/48x48/mimetypes/gnome-mime-application-x-aoi.png -> application-x-aoi.png
3027028 4 -rw------- 1 luis luis 3153 Jan 8 2014 /home/luis/.local/share/icons/hicolor/48x48/mimetypes/application-x-aoi.png
12600598 4 -rw------- 1 luis luis 2917 Jan 8 2014 /home/luis/.local/share/icons/hicolor/48x48/apps/aoi.png
3027026 0 lrwxrwxrwx 1 luis luis 21 Jan 8 2014 /home/luis/.local/share/icons/hicolor/32x32/mimetypes/gnome-mime-application-x-aoi.png -> application-x-aoi.png
3027025 4 -rw------- 1 luis luis 1813 Jan 8 2014 /home/luis/.local/share/icons/hicolor/32x32/mimetypes/application-x-aoi.png
12600599 4 -rw------- 1 luis luis 1743 Jan 8 2014 /home/luis/.local/share/icons/hicolor/32x32/apps/aoi.png
12612002 4 -rw-rw-r-- 1 luis luis 294 Feb 3 14:52 /home/luis/.local/share/mime/application/x-aoi.xml
12600574 4 -rw------- 1 luis luis 259 Jan 8 2014 /home/luis/.local/share/mime/packages/aoi.xml
12600597 4 -rw------- 1 luis luis 247 Jan 8 2014 /home/luis/.local/share/applications/aoi.desktop
13371673 13568 -rw-r--r-- 1 luis luis 13890141 Sep 24 2013 /home/luis/.local/share/Trash/files/ArtOfIllusion.2/aoi-linux-install.jar
13371719 4 -rwxr-xr-x 1 luis luis 854 Sep 24 2013 /home/luis/.local/share/Trash/files/ArtOfIllusion.2/aoisetup.sh
14036489 13568 -rw-r--r-- 1 luis luis 13893346 Jan 16 07:41 /home/luis/.local/share/Trash/files/Art\ of\ Illusion\ -\ NEW/ArtOfIllusion/aoi-linux-install.jar
14036490 4 -rwxr-xr-x 1 luis luis 854 Jan 16 07:41 /home/luis/.local/share/Trash/files/Art\ of\ Illusion\ -\ NEW/ArtOfIllusion/aoisetup.sh
12602952 4 -rw-rw-r-- 1 luis luis 82 Jun 2 2014 /home/luis/.local/share/Trash/info/aoi.desktop.trashinfo
3027020 4 -rw------- 1 luis luis 263 Jan 8 2014 /home/luis/.gnome/apps/aoi.desktop
12612939 4 -rw-rw-r-- 1 luis luis 562 Feb 17 07:07 /home/luis/Documents/Art\ of\ Illusion\ FILES/Learning/Luis\ Hourglass.aoi
13507922 4 -rwxrwxr-x 1 luis luis 1738 Feb 19 2012 /home/luis/AAA-ArtOfIllusion\ Application/aoi.sh
14819196 4 -rw-rw-r-- 1 luis luis 522 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Scripts/Objects/Fur.aoi
1323793 4 -rw-rw-r-- 1 luis luis 3448 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Effects.aoi
1323798 4 -rw-rw-r-- 1 luis luis 1173 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Water.aoi
1323797 8 -rw-rw-r-- 1 luis luis 4665 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Sky.aoi
1323795 4 -rw-rw-r-- 1 luis luis 3503 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Geography.aoi
1323794 4 -rw-rw-r-- 1 luis luis 2110 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Fire.aoi
1323792 8 -rw-rw-r-- 1 luis luis 8073 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Building\ Materials.aoi
1323799 4 -rw-rw-r-- 1 luis luis 1516 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Wood.aoi
1323796 4 -rw-rw-r-- 1 luis luis 3218 Sep 24 2013 /home/luis/AAA-ArtOfIllusion\ Application/Textures\ and\ Materials/Library/Metal.aoi
12585421 4 -rwxr-xr-x 1 luis luis 854 Jan 16 07:41 /home/luis/Desktop/aoisetup.sh
find: `/home/luis/.config/nautilus-actions': Permission denied
3027017 4 -rw------- 1 luis luis 263 Jan 8 2014 /home/luis/.kde/share/applnk/aoi.desktop
13906639 13568 -rw-r--r-- 1 luis luis 13890141 Sep 24 2013 /home/luis/AAA-Art\ of\ Illusion\ -\ TRY\ 1/ArtOfIllusion/aoi-linux-install.jar
13906640 4 -rwxr-xr-x 1 luis luis 854 Sep 24 2013 /home/luis/AAA-Art\ of\ Illusion\ -\ TRY\ 1/ArtOfIllusion/aoisetup.sh
13249961 4 -rw-rw-r-- 1 luis luis 327 Feb 20 14:12 /home/luis/.artofillusion/aoiprefs
13511016 4 -rw-rw-r-- 1 luis luis 79 Feb 26 14:22 /home/luis/Applications\ Documentation/Art\ of\ Illusion/Help\ files/.~lock.Execute\ aoisetup.sh\ Launchpad.odt#
13511034 28 -rw-rw-r-- 1 luis luis 27684 Feb 26 14:22 /home/luis/Applications\ Documentation/Art\ of\ Illusion/Help\ files/Execute\ aoisetup.sh\ Launchpad.odt
luis@luis-G41M-Combo:~$

So it's in /home/luis/ArtOfIllusion not "home artofillusion" as you said....

Install java then run:

java /home/luis/ArtOfIllusion/aoi-linux-install.jar

Should kick it off.

Luis M.Jacinto (ljacinto) said : #8

Apologize for the previous error, AOI still not working.
As I had install java previously I tried the command “java /home/luis/ArtOfIllusion/aoi-linux-install.jar”
Terminal:
uis@luis-G41M-Combo:~$ java /home/luis/ArtOfIllusion/aoi-linux-install.jar
Error: Could not find or load main class .home.luis.ArtOfIllusion.aoi-linux-install.jar
Decide to install java again to see the difference Terminal (only the begin and end)
Begin:
luis@luis-G41M-Combo:~$ sudo add-apt-repository ppa:webupd8team/java
[sudo] password for luis:
You are about to add the following PPA to your system:
 Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK7 / JDK9). There are no actual Java files in this PPA.

More info (and Ubuntu installation instructions):
- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

Debian installation instructions:
- Oracle Java 7: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html
- Oracle Java 8: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
 More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
Press [ENTER] to continue or ctrl-c to cancel adding it
End:
oracle-java8-installer is already the newest version.
The following packages were automatically installed and are no longer required:
  libguess1 libbinio1ldbl liboce-modeling1 calligra-data libfparser-4.3
  libhtml-template-perl libopencascade-modeling-6.5.0 mysql-server-5.5
  libbs2b0 libdirectfb-extra liboce-visualization1
  libopencascade-ocaf-lite-6.5.0 libopencascade-ocaf-6.5.0 libcue1
  libopencascade-foundation-6.5.0 liboce-ocaf1 liboce-ocaf-lite1
  libopencascade-visualization-6.5.0 libdxflib-2.2.0.0 libmowgli2
  libfluidsynth1 liboce-foundation1 libtommath0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
luis@luis-G41M-Combo:~$ java /home/luis/ArtOfIllusion/aoi-linux-install.jar
Error: Could not find or load main class .home.luis.ArtOfIllusion.aoi-linux-install.jar
luis@luis-G41M-Combo:~$
Then commando to install AOI:
luis@luis-G41M-Combo:~$ java /home/luis/ArtOfIllusion/aoi-linux-install.jar
Error: Could not find or load main class .home.luis.ArtOfIllusion.aoi-linux-install.jar
luis@luis-G41M-Combo:~$

Best Manfred Hampl (m-hampl) said : #9

actionparsnip's command misses an option ("-jar").

I assume it must be

java -jar /home/luis/ArtOfIllusion/aoi-linux-install.jar

If that fails, please provide the output of the command

sh /home/luis/ArtOfIllusion/aoisetup.sh

and if that fails as well

sudo sh /home/luis/ArtOfIllusion/aoisetup.sh

Luis M.Jacinto (ljacinto) said : #10

Thanks Manfred Hampl, that solved my question.