Ciao a tutti, dopo aver capito i rudimenti di Java e programmando un po` mi volevo addentrare sulla programmazione distribuita in java.....Utilizzo eclipse come compilatore ma il problema principale e` che non utilizzo piu` windows ma linux e quindi non capisco:
a)come settare le variabili di ambiente;
b)dove mettere i file JOB- 4.3.3 e JOB-4.3.3-bin(che sono 2 file scaricati nel sito della IONA per Orbacus).
C'e` qualcuno che mi sa dire come devo fare a fare queste operazioni oppure indicarmi un link dove sono spiegate queste cose.
Grazie in anticipo
Metto i 2 file readme di installazione all'interno di JOB- 4.3.3 e JOB-4.3.3-bin
Sperando che qualcuno ci capisca qualcosa perche` io sto diventando matto
Questo e` il file readme in JOB- 4.3.3
codice:
Orbacus for Java - Compilation and Installation ----------------------------------------------- Contents - Overview - Requirements - Configuration - Compilation/Installation - Support --------------------------------------------------------------------------- Overview -------- Orbacus is a source code distribution that requires configuration, compilation, and installation before it can be used. The following sections describe each of these steps in detail. Requirements ------------ These are the requirements for using the packages in this distribution: 1) Java Development Kit (JDK) v1.4.2 or later. Please see the section "JDK Notes" below for important compatibility information. 2) Orbacus IDL-to-Java translator (`jidl') IONA provides executables for several platforms on our web site (https://www.orbacus.com/support/new_site/download). The archives contain a README file providing installation instructions. 3) Orbacus 4.3.1+ now uses Apache Ant for compilation instead of the older 'make' system. You will need Apache Ant version 1.6+. Ant is a tool more applicable to Java development and is now the standard tool used to build Java applications. Since it now robust and stable, this was an appropriate time for Orbacus to make the switch. Configuration ------------- There is one main configuration file: - imports.xml The Ant build scripts try to do all configuration automatically based on the JDK version, the Java vendor (IBM versus Sun), etc so most users will not need to perform any manual configuration. However you may want to change the default values associated with the 'javac' command in order to produce optimized builds or to disable debug information. These settings can be changed on the preset definition for the 'ob.javac' near the end of the imports.xml file. These settings are described more clearly under the javac target in the Apache Ant manual. Compilation/Installation ------------------------ To start the compilation/installation process, simply type "ant -Dinstall.dir=<INSTALL_DIR>" where <INSTALL_DIR> is where you would like to install the compiled java files. For example, on Unix: - "ant -Dinstall.dir=/usr/local/JOB-4.3.1"
e questo dentro a JOB-4.3.3-bin
codice:
Introduction ------------ This archive contains platform-specific executables and libraries for Orbacus for Java. A brief description of each executable is provided below. bin/jidl The Orbacus IDL-to-Java translator bin/hidl The Orbacus IDL-to-HTML translator bin/ridl The Orbacus IDL-to-RTF translator bin/mcpp The C preprocessor bin/irserv The Orbacus Interface Repository (IFR) bin/irfeed The Orbacus Interface Repository Feeder bin/irdel The Orbacus Interface Repository Deleter bin/iordump Displays information about IORs bin/iormerge Merges multiple IORs bin/anydump Displays the contents of database files created by certain Orbacus applications (such as the Naming Service) bin/imr The Orbacus Implementation Repository bin/imradmin Command-line administrative tool for IMR bin/imrdbupgrade Command-line database upgrade tool for IMR bin/mkref Constructs object references for IMR-enabled servers bin/amirouter Asynchronous messaging router (AMI router) On Windows platforms, the archive also contains the following executables: bin/ntirservice The Orbacus Interface Repository NT Service bin/ntimrservice The Orbacus Implementation Repository NT Service At a minimum, you will need bin/jidl and bin/idlcpp. The remaining programs are optional, but are often useful. For more information on these programs, please refer to the Orbacus manual, which can be downloaded at http://www.orbacus.com/ob/download.html. The source code for these programs is included in the Orbacus for C++ distribution, which can also be downloaded at the URL above. Installation ------------ The archive can be unpacked in any directory you choose. Once unpacked, you will need to configure your environment as described below. UNIX: Assuming you've unpacked the archive into /usr/local/Orbacus, you will need to add /usr/local/Orbacus/lib to your LD_LIBRARY_PATH (or SHLIB_PATH under HPUX), and /usr/local/Orbacus/bin to your PATH. Using a Bourne/Korn shell or compatible, you can add these directories as follows: LD_LIBRARY_PATH=/usr/local/Orbacus/lib:$LD_LIBRARY_PATH PATH=/usr/local/Orbacus/bin:$PATH Using a C shell or compatible, the commands are: setenv LD_LIBRARY_PATH /usr/local/Orbacus/lib:$LD_LIBRARY_PATH set path=(/usr/local/Orbacus/bin $path)