0% found this document useful (0 votes)
4 views5 pages

Offline App Inventor Installation Tutorial

After downloading the necessary files, you need to install the Java development kit, set up the environment variables, and then start the App Inventor servers to access the interface from a web browser.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

Offline App Inventor Installation Tutorial

After downloading the necessary files, you need to install the Java development kit, set up the environment variables, and then start the App Inventor servers to access the interface from a web browser.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

First of all, extract the archive for installing App Inventor offline that

is available here:

[Link]

It is then necessary to install the JAVA development kit - the JDK - fo


run the program. Then, you need to set the JAVA_HOME variable

Archives available here:

[Link]
[Link]

For Windows, run the executable, then configure the environment variable.
JAVA_HOME as follows:

Windows 8
Move the mouse pointer to the bottom right corner of the screen.
2. Click on the 'Search' icon and type 'Control Panel'.
3. Click on 'Control Panel' System Advanced
4. Click on 'Environment Variables', then, under 'System Variables',
search for the valuePATH and click on it.
5. In the editing window, modify PATH by adding the location of the class to the
value of PATH. If the PATH element is not available, you can add a
new variable and add PATH as the name and the location of the class in
as much value.
Close the window.

Windows 7
Select 'Computer' from the 'Start' menu.
2. Choose 'System Properties' from the context menu.
3. In the 'Advanced' tab, click on 'Advanced system settings'.
4. Click on 'Environment Variables', then, under 'System Variables',
search for the valuePATHand click on it.
5. In the editing window, modify PATH by adding the class location to the
value of PATH. If the PATH element is not available, you can add a
nouvelle variable et ajouterPATHen tant que nom et l'emplacement de la classe en
such value.

Check that the directory matches: here jdk1.7.0_017, this may change depending on the
versions...)

To summarize:

Once the steps of decompressing the .zip file and installing the Java environment
finished, just create a shortcut to the desktop for the file [Link]
[Link] then launch these two applications successively (launching
of servers). Therefore, from a browser (Chrome for example), just type in the URL
[Link] another machine, just enter[Link]
"adresse_ip" is the address of the machine.

! Attention! It is important to have your OS version up to date before attempting the installation of the
JDK.

For Linux, download the corresponding archive (.[Link] preferably) and extract it there.
a folder whose access path is known.

To install JDK, there are several ways, but the simplest is to use
directly the terminal and the integrated package manager of the distribution to install
the OpenJDK. For this example, we will use version 7 of the JDK, but it needs to be replaced with
number 7 by the latest available version.

Open the terminal (Applications menu Accessories Terminal). Type the line of
Next command to install the JDK (you need to have a password for a)
administrator account to perform this operation) :

sudo apt-get install openjdk-7-jdk

To verify that the installation was successful, run the following command:

apt-cache search jdk

If the command returns a result, then the JDK is installed on your computer. For it to
to be executed correctly, it is necessary to provide the environment variables. The
The JAVA_HOME variable must indicate the JDK installation path. In the terminal, type the
next command to set this variable:

export JAVA_HOME=/path/to/the/directory/open-jdk-7-jdk

You must also add to the PATH variable the directory containing the executable of
JDK. Indicate for this the bin subdirectory of the JDK installation folder:

export PATH=$PATH:/path/to/the/directory/open-jdk-7-jdk/bin

Once all these steps are completed, the installation is finished. To ensure that the
JDK works, type the following command:

javac

You can also download the latest version of Java directly with your
browser on the Oracle website ([Link] Once the archive is downloaded,
move it to the /url/local directory. Then open the terminal (in root mode), and type
the following commands:

cd /url/local tar xzf <name of the downloaded archive>

These commands will allow you to navigate to the /url/local directory and extract
the contents of the archive in the directory. Once these commands are completed, with your
user account, open your home directory, and edit the .profile file. In this
file, add the content of the 2 variables JAVA_HOME and PATH to install the JDK. If you
make an update, remember to remove the lines related to the old installation.

export JAVA_HOME=/usr/local/<name of the JDK directory>

export PATH=$PATH:$JAVA_HOME/bin
Log out, then log back in, and the JDK is operational. This method installs.
a JDK that will not be updated with the system, unlike OpenJDK, which can
be useful for compatibility reasons with your programs.

One last solution is to update the package manager to use a script.


who will easily install the JDK, leaving very little manipulation. For these
commands, an administrator account password is required:

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

These commands add the Java archive package to your package manager, then
updates it. Then just run the following command to install the JDK version
7:

sudo apt-get install oracle-java7-installer

After installing the JDK, the files [Link] and [Link] must be
executables rendered by modifying their properties, either through the graphical interface (click
right on the .sh and "add the exception") either by using the command:

Chmod +x *.sh

Navigate to the App Inventor extraction directory using the function:

Cd

Then launch the AI server via the command prompt

./[Link]

In another terminal, navigate to the extraction directory of App inventor.


using the cd function, then launch the AI build server via:

./[Link]

Open a browser and go to the local URL:

[Link]
[Link]

[Link]

[Link]
[Link]

You might also like