|
Post by rlyacht on Jul 12, 2020 14:51:05 GMT 1
I'm using ubuntu focal (20.04 LTS)
When I run bin/jjazzlab I get what's shown below. It seems not to be liking the java
robt@nucnix:~/bin/JJazzLab-2.1.2a-Linux$ bin/jjazzlab bin/../platform/lib/nbexec: line 423: /home/robt/bin/JJazzLab-2.1.2a-Linux/jdk /home/robt/bin/JJazzLab-2.1.2a-Linux/jdk/bin/java: No such file or directory
robt@nucnix:~/bin/JJazzLab-2.1.2a-Linux$ /home/robt/bin/JJazzLab-2.1.2a-Linux/jdk/bin/java --version openjdk 11.0.6 2020-01-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode) robt@nucnix:~/bin/JJazzLab-2.1.2a-Linux$
|
|
|
Post by Jerome on Jul 12, 2020 21:35:59 GMT 1
I don't have a Linux computer right now, can't help you much, sorry. I think it's the first time I see this issue.
bin/jjazzlab and platform/lib/nbexec are shell scripts automatically generated by the Netbeans framework used by JJazzLab. If you know a little bit you might try to use option to see what's happening, if there are wrong paths etc.
|
|
|
Post by rlyacht on Jul 12, 2020 22:19:59 GMT 1
Thanks Jerome, I gave that a shot even tried modifying nbexec to hard-code jdkhome and the classpath. Now I get "Could not find or load main class org.netbeans.Main" :-)
Oh well, I'm guessing there are some hidden assumptions that my system doesn't cover, since I don't do any java stuff. I'll try a few more things, but may just wait until a future release to give jjazzlab a try.
|
|
|
Post by Jerome on Jul 13, 2020 11:49:32 GMT 1
JJazzLab embeds its own JDK so (normally) there is no dependency on a system Java, that's why it's weird...
|
|
riske
New Member
Posts: 3
|
Post by riske on Jul 18, 2020 17:58:57 GMT 1
Hi there I just started JJazzLab this afternoon on my Linux Mate 19.3 (linux user for 4 months)
It seems when you try to run it from the terminal you got something like no such file and much more. This was my problem too so I went to the (computer/downloads/JJazzlab2.0-linux) on my computer and in the bin/JJazzlab
(shellscript/application/x shellscript) I just pushed "execute"
The program started and is working just like it should . Great program for singer songwriter
Maybe this can help you. English is not my native language but if i can help please just ask and will help you search. More then 2 decades I worked with Windows /cakewalk and Baib. Grtjs Riske
|
|
|
Post by Jerome on Jul 19, 2020 10:30:20 GMT 1
Glad to hear you made it work !
|
|
|
Post by ADKC on Jul 19, 2020 20:31:38 GMT 1
Jjazzlab worked straight away for me on Manjaro Linux. Really great software; I have been looking for something like this for years.
----
Although, Jjazzlab worked absolutely fine, on start-up there was an error report that had no consequence for me but it might be an issue effecting that effects other distros and may be the source of rlyach's issue:
[adrian@manjaro2-lt JJazzLab-2.1.2a-Linux]$ bin/jjazzlab WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/adrian/JJazzLab-2.1.2a-Linux/platform/lib/boot.jar) to field java.net.URL.handler WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
The version of Java I am using:
[adrian@manjaro2-lt JJazzLab-2.1.2a-Linux]$ java --version openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13) OpenJDK 64-Bit Server VM (build 10.0.2+13, mixed mode)
----
Finally, it is worth repeating what a great application Jjazzlab is!
|
|
|
Post by Jerome on Jul 20, 2020 9:28:20 GMT 1
@ ADKC Thanks ! I'm aware of this warning, actually it's not in a JJazzLab component and you can safely ignore it.
|
|
|
Post by rlyacht on Jul 20, 2020 18:16:47 GMT 1
Thanks everyone for your responses. I looked at what Riske sent, and was able to run it by cd'ing to the bin directory.
In other words, this worked for me
cd JJazzLab-2.1.2a-Linux/bin ./jjazzlab
My guess is that there is a relative path lurking somewhere, or else that it would work if I'd had some environment variable set.
|
|
brau
New Member
Posts: 28
|
Post by brau on Jul 29, 2020 16:52:09 GMT 1
I am running on Ubuntu Studio and I just updated to 2.1.2a.
I unzipped the files to my home directory went into /bin and copied the shell script to my desktop. I run that script and it works, just like the previous edition.
BTW, the BIAB import worked well in the one file I imported,
Thanks
Brau
|
|
|
Post by gordons on Feb 3, 2023 16:40:06 GMT 1
JJazzLab embeds its own JDK so (normally) there is no dependency on a system Java, that's why it's weird... Just for information, I've just started trying out JJazzLab 3.2.1 on AVLinux (a spin-off of MXLinux) and had some issues with it not finding the jdk. That may have been due to permissions as I installed in /opt and set owner and group to root and the jdk directory was not readable for non-root. I installed the system default jdk, but still no success. I followed the links to the actual jdk home directory and used that and JJazzLab then ran (with the "illegal reflective" warning reported elsewhere).
$ /opt/JJazzLab-3.2.1-Linux/bin/jjazzlab --jdkhome /usr/lib/jvm/java-11-openjdk-amd64/ & or
$ /opt/JJazzLab-3.2.1-Linux/bin/jjazzlab --jdkhome /usr/lib/jvm/java-17-openjdk-amd64/ & The second giving a different but comparable error.
I'll likely embed a fix in the scripts.
I found a suggestion for finding the actual jdk home directory from a shell that works on this system:
$ realpath $(which java) /usr/lib/jvm/java-17-openjdk-amd64/bin/java
Thank you for an interesting and hopefully a "useful to me" program.
Addendum.
BTW, I later also changed the permissions for /opt/JJazzLab-3.2.1-Linux/jdk and below to a+rx and that appears to have been the original cause of the problem. jjazzlab now runs without need of the --jdkhome option.
|
|