Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
If you installed the distribution as recommended, you should have the source
folder
stored at /home/jconfig/samizdat/source
. You can store it at another location,
but you'll need to edit lxmake.sh
, which compiles the native library, to reflect the new location.
Also, you'll need to edit the first few lines of lxmake.sh
,
depending on the locations where you have the required software installed. See below for details.
IMPORTANT NOTE:
When copying the files over to Linux, make sure that all line endings are Unix-friendly
(i.e., no carriage returns, only line feeds.) Otherwise, you might receive strange compilation errors without an
apparent cause. An easy way to do this is by using the -a
or -aa
switch to unzip
.
NOTE: We recommend that you use Windows as your 'homebase', and only transfer files to Linux in order to compile the Linux shared library.
lxmake.sh
assumes that this is stored in /usr/local/jdk118
The script lxmake.sh
is used to compile the Linux shared library. If you'll be doing this repeatedly,
you might want to create a make file.
You'll need to edit the first few lines of this file depending on where the JDK and the JConfig source code is stored. See that file for details.
IMPORTANT NOTE:
Don't modify the relative locations of files or folders within the distribution;
doing so may require editing the project files, batch files, etc.