想定する動作環境は以下のとおりです。(保証ではありません。)
原理的には、openjdk-17-jdk
が動作する環境であれば動作する可能性があります。ただし、macOSはxcode15.2でx64をターゲットとしてjavaランチャをビルドしているため、macOS10.15以降でないと動作しません。(ランチャを使わずjarファイル単体で動作させることは可能かもしれません。)
Ver0.10からの変更点
color-patterns.xml
としてキャラクターデータディレクトリと同じ場所に保存されます。appConfig
設定ファイルは差分のみ保存するように変更したHKLM\SOFTWARE\JavaSoft\JDK
の下にあるもの%ProgramFiles%\\Eclipse Adoptium
%ProgramFiles%\\Amazon Corretto
%ProgramFiles%\\Microsoft
%PATH%
のいずれかのフォルダの中にあるjavaw.exeC:\Users\USERNAME\AppData\Local\CharacterManaJ\launcher.cfg
に記録され、次回以降は、この設定値が使用されます。C:\Users\USERNAME\AppData\Local\CharacterManaJ\jvm_options
というテキストファイルにJAVAの起動パラメータを記述できます。-Xmx512m
と記載した場合は、メモリ512MBytesをヒープメモリとします。Java17がインストールされており、その場所を知っている場合以外は、JAVA同梱タイプのダウンロードをオススメします。
この同梱されているJavaはシステムにはインストールされず、システムには影響を与えません。本アプリケーションの実行にのみ使用されます。
Java同梱版以外を使用する場合には、起動時にJava17のパスを指定する必要があります。
また、JAVAランチャを使わず、独自の起動スクリプトを書きたい場合、CharacterManaJ.jar
単体でダウンロードしてください。このjarが、本アプリケーション本体です。原理的には、openjdk17が動作する環境であれば、本アプリケーションは動作すると考えられます。
jlink版は、Javaランタイムから本アプリケーションが必要とするモジュールだけを取り出したランタイムが同梱されています。
この同梱されているJavaはシステムにはインストールされず、システムには影響を与えません。本アプリケーションの実行にのみ使用されます。
Java同梱版以外を使用する場合には、マイクロソフト、Eclipse Temurin、Amazon Corretoなど、お好みのディストリビューションから、Java17(もしくは、それ以降)を、あらかじめインストールしてください。
いずれもzipを展開するだけで、インストーラーなどはありません。展開されたファイルの中にある、CharacterManaJ.exe
を直接実行してください。これがjavaランチャーとなっています。
(上級者向け: CharacterManaJ.exeは、MinGWのgcc(g++)で書かれているJAVAランチャです。もし、自分で起動スクリプトを書きたい場合は、java -p mods -m charactermanaj.CharacterManaJ
がエントリポイントとなっています。)
jre版は、Javaランタイムから本アプリケーションが必要とするモジュールだけを取り出したランタイムが同梱されています。
この同梱されているJavaはシステムにはインストールされず、システムには影響を与えません。本アプリケーションの実行にのみ使用されます。
Java同梱版以外を使用する場合には、マイクロソフト、Eclipse Temurin、Amazon Corretoなど、お好みのディストリビューションから、Java17(もしくは、それ以降)を、あらかじめインストールしてください。
いずれもdmgを開くと、実行できるアプリケーションバンドルとなっています。お好みの場所に移動してお使いください。
(上級者向け: CharacterManaJ.app内には、xcodeのObjectiveCで書かれているJAVAランチャがあります。これは、/usr/libexec/java_home
のコマンドを使って、システムにインストールされているJAVA_HOMEを探索するなどの処理を行っています。もし、自分で起動スクリプトを書きたい場合は、java -p mods -m charactermanaj.CharacterManaJ
がエントリポイントとなっています。)
runtime版は、Javaランタイムから本アプリケーションが必要とするモジュールだけを取り出したランタイムが同梱されています。
この同梱されているJavaはシステムにはインストールされず、システムには影響を与えません。本アプリケーションの実行にのみ使用されます。
Java同梱版以外を使用する場合には、あらかじめ、Java17(openjdk-17-jdk
など)のインストールが必要です。
sudo apt install openjdk-17-jdk
debパッケージは、以下のようにインストールできます。
sudo dpkg -i CharacterManaJ_1.0.0.2-runtime.deb
debパッケージ版は、システムの以下の場所に本アプリケーションと関連ファイルをインストールします。
/usr/share/charactermanaj/
下に本体jar(jlinkも)がインストールされます。/usr/bin/charactermanaj
起動するためのシェルスクリプト`/usr/share/applications/charactermanaj-CharacterManaJ.desktop
メニュー/usr/share/man/man1/charactermanaj.1.gz
(およびja) ヘルプ/usr/share/menu/CharacterManaJ
x11用メニュー/usr/share/pixmaps/charactermanaj/icon.xpm
アイコン画像アンインストールする場合は、以下のようにします。
sudo dpkg -r CharacterManaJ
本アプリケーションは現状1つのjarだけで動作できます。
java -p mods -m charactermanaj.CharacterManaJ
のようにjarファイルを置いたモジューパスと、モジュール名 charactermanaj.CharacterManaJ
を指定することで起動します。
また、本バージョンでは以前の非モジュール版としても引き続き起動できます。
java -jar CharacterManaJ-1.0.0.2.jar
のように実行可能jarとして起動することもできます。
以下にご連絡ください。
https://sourceforge.net/p/charactermanaj/discussion/
The assumed operating environment is as follows. (Not guaranteed.)
In principle, it may work in any environment where openjdk-17-jdk operates. However, since the macOS Java launcher is built targeting x64 with xcode15.2, it will not function on macOS versions earlier than 10.15. (It might be possible to run it using just the jar file without the launcher.)
Changes from Ver0.10
color-patterns.xml
.appConfig
configuration file to save only the differencesjavaw.exe
will be selected if it exists and the version matches:HKLM\SOFTWARE\JavaSoft\JDK
in the registry%ProgramFiles%\\Eclipse Adoptium
%ProgramFiles%\\Amazon Corretto
%ProgramFiles%\\Microsoft
%PATH%
that contains javaw.exe
C:\\Users\\USERNAME\\AppData\\Local\\CharacterManaJ\\launcher.cfg
, and this setting will be used thereafter.C:\\Users\\USERNAME\\AppData\\Local\\CharacterManaJ\\jvm_options
.-Xmx512m
sets the memory to 512MBytes of heap memory.We recommend downloading the version bundled with JAVA unless you have Java17 installed and know its location.
The Java included in this bundle is not installed on the system and does not affect the system. It is used solely for running this application.
If using a version other than the Java-bundled one, you will need to specify the path to Java17 at startup.
Furthermore, if you wish to write your own startup script without using the JAVA launcher, please download CharacterManaJ.jar
alone. This jar is the main body of the application. In principle, the application is considered to operate in any environment where openjdk17 is functional.
The jlink version comes with a runtime that extracts only the modules required by this application from the Java runtime.
This bundled Java does not install on the system and does not affect the system. It is used only for running this application.
If using a version other than the Java-bundled one, please install Java17 (or later) from your preferred distribution such as Microsoft, Eclipse Temurin, Amazon Corretto, etc., in advance.
In all cases, just unzip the file, no installer is required. Run CharacterManaJ.exe
directly from the extracted files. This acts as the java launcher.
(For advanced users: CharacterManaJ.exe is a JAVA launcher written in MinGW's gcc(g++). If you want to write your own startup script, java -p mods -m charactermanaj.CharacterManaJ
is the entry point.)
The jre version comes with a runtime that extracts only the modules required
by this application from the Java runtime.
This bundled Java does not install on the system and does not affect the system. It is used only for running this application.
If using a version other than the Java-bundled one, please install Java17 (or later) from your preferred distribution such as Eclipse Temurin, Amazon Corretto, etc., in advance.
Opening the dmg will give you an executable application bundle. Move it to your preferred location to use.
(For advanced users: Inside CharacterManaJ.app, there is a JAVA launcher written in Xcode's ObjectiveC. It uses the /usr/libexec/java_home
command to search for JAVA_HOME installed on the system, among other processes. If you want to write your own startup script, java -p mods -m charactermanaj.CharacterManaJ
is the entry point.)
The runtime version comes with a runtime that extracts only the modules required by this application from the Java runtime.
This bundled Java does not install on the system and does not affect the system. It is used only for running this application.
If using a version other than the Java-bundled one, installing Java17 (openjdk-17-jdk
, etc.) in advance is required.
sudo apt install openjdk-17-jdk
The deb package can be installed as follows:
sudo dpkg -i CharacterManaJ_1.0.0.2-runtime.deb
The deb package version installs the application and related files in the system at the following locations:
/usr/share/charactermanaj/
are the main jar (jlink included)./usr/bin/charactermanaj
for launching the script/usr/share/applications/charactermanaj-CharacterManaJ.desktop
for the menu/usr/share/man/man1/charactermanaj.1.gz
(and ja) for help/usr/share/menu/CharacterManaJ
for the X11 menu/usr/share/pixmaps/charactermanaj/icon.xpm
for the icon imageTo uninstall, do the following:
sudo dpkg -r CharacterManaJ
The application currently can operate with just one jar file.
java -p mods -m charactermanaj.CharacterManaJ
It starts by specifying the module path where the jar file is placed and the module name charactermanaj.CharacterManaJ
.
Moreover, this version can also be launched as a non-module version, as before.
java -jar CharacterManaJ-1.0.0.2.jar
It can also be executed as a runnable jar in this manner.
Please contact us here.
https://sourceforge.net/p/charactermanaj/discussion/
END