简体   繁体   中英

how to run openlaszlo 4.9.0 in ubuntu12.04?

I am Using Ubuntu 12.04 and i want to run OpenLaszlo 4.9.0 in my system. I have read many tutorial, eg

http://wiki.openlaszlo.org/Installing_OpenLaszlo#Installing_the_DevKit_on_Unix.2FLinux

that say that put server in JAVA_HOME but i do not know where is JAVA_HOME in Ubuntu 12.04.

I have OpenLaszlo also . But I do not know how to start server of OpenLaszlo and where to put it? or how many things required for it? please tell me. I have Red5 server,i have install java-7-openjdk.
Thanks in advance.

JAVA_HOME is an environment variable. It stores the path to java runtime environment (jre). You can have several JVMs installed on your system, of course. So JAVA_HOME defines the default one. Setting this variable after installing Ubuntu package from the repository is a little tricky. It is discussed, for example, here:

Jenkins, specifying JAVA_HOME ,

What is the correct target for the JAVA_HOME envrionment variable for a Linux OpenJDK Debian-based distribution?

OpenLaszlo is a Web-application that should be run under some application server (usually Apache TomCat or its derivatives such as IBM WebSphere Application Server Community Edition).

It is available on the off.site as a bundle that includes TomCat and also as a .war file (a servlet) that should be deployed under your application server.

In the 1st case you can extract an archive wherever you want (read carefully about file permissions). But at the moment the server starts it needs Java system files so JAVA_HOME should be already defined.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM