Created
June 11, 2022 21:45
-
-
Save psxdev/c99eebd3c8b85f2eb7a288eee74cf4b1 to your computer and use it in GitHub Desktop.
Playing with bd-j on macos bigsur on m1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
references https://hdcookbook.jovial.com/ | |
the github project was updated for m1 last year: | |
https://github.com/zathras/java.net | |
1) You will need ant and java sdk | |
for java this is using 1.8, it is old stuff and the author update to build all fine on m1 so | |
java download zulu openjdk sdk 1.8.0_302 select 8u302b08 Azul Zulu: 8.56.0.23 form macos arm64 from: | |
https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk&show-old-builds=true | |
ant get the 1.10.12 version from: | |
https://ant.apache.org/bindownload.cgi | |
2)i choose the tar.gz option to place all in my custom directories, you can use a script like | |
cat pathtojava.sh | |
PATH=/usr/local/prosperodev/git/bdj/zulu8.56.0.23-ca-jdk8.0.302-macosx_aarch64/bin:/usr/local/prosperodev/git/bdj/apache-ant-1.10.12/bin:$PATH;export PATH | |
3)get github repository | |
git clone https://github.com/zathras/java.net | |
4)build | |
asure first java and ant in the path | |
. ./pathtojava.sh | |
java -version | |
openjdk version "1.8.0_302" | |
OpenJDK Runtime Environment (Zulu 8.56.0.23-CA-macos-aarch64) (build 1.8.0_302-b08) | |
OpenJDK 64-Bit Server VM (Zulu 8.56.0.23-CA-macos-aarch64) (build 25.302-b08, mixed mode) | |
ant -version | |
Apache Ant(TM) version 1.10.12 compiled on October 13 2021 | |
cd java.net | |
cd hdcookbook | |
ant | |
5)get non java content for bd | |
get https://github.com/zathras/java.net/releases/download/1.0.1/hdcookbook_disc_image_without_java.zip | |
6)mix with java content build | |
bundle: | |
[zip] Building zip: /usr/local/prosperodev/git/bdj/java.net/hdcookbook/xlets/hdcookbook_discimage/HDCookbookDiscImage.zip | |
[echo] | |
[echo] IMPORTANT: To make a working disc image, unzip HDCookbookDiscImage.zip | |
[echo] over a directory with the contents of | |
[echo] https://github.com/zathras/java.net/releases/download/1.0.1/hdcookbook_disc_image_without_java.zip | |
7)burn udf 2.5 on mac | |
http://oliverlietz.github.io/bd-j/writing.html | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment