You are not logged in.
Pages: 1
I'm trying to install a program called Digital (GitHub : https://github.com/hneemann/Digital ), and in the download instruction it says to run the shell file (which i assume to be "Digital.zip"). However, the program did not want to start, when I clicked it, it doesn't do anything. It used to work, however on my older install (before i reinstalled the OS) and the only difference that matters (that i know) is that i created a separate directory for the "Home" directory. is there a way to fix this? do i need to reinstall my OS? again?
Offline
.zip files are not executable (at least from my experience) they are formats for compression. You need to uncompress the .zip file and your executable will likely be inside. You can use tools such as 7zip (its what I use) https://wiki.archlinux.org/title/7-Zip
shell scripts typically have a .sh extension
Last edited by efog4 (Today 01:02:39)
Offline
I'm trying to install a program called Digital (GitHub : https://github.com/hneemann/Digital ), and in the download instruction it says to run the shell file (which i assume to be "Digital.zip"). However, the program did not want to start, when I clicked it, it doesn't do anything
https://github.com/hneemann/Digital?tab … stallation
There is no installation required, just unpack the Digital.zip file, which is available for download. On Linux start the shell script and on Windows and MacOS the JAR file can be started directly.
Emphasis added
Online
From what I can see after downloading the file all of the files for Linux are not included.
I found this but I don't know if it is what you are looking for.
https://librepcb.org
Online
From what I can see after downloading the file all of the files for Linux are not included.
Dis you miss the shell script `Digital.sh` that calls the Java archive `Digital.jar` in `Digital.zip`?
Online
[demo@Manjaro linux]$ ./Digital.sh
Error: Unable to access jarfile /home/demo/Projects/Digital/distribution/linux/Digital.jarOnline
[demo@Manjaro linux]$ ./Digital.sh Error: Unable to access jarfile /home/demo/Projects/Digital/distribution/linux/Digital.jar
Type in then at that same prompt ls -l P hitting the tab key to complete the path it should result in this after I created the directory structure on my machine for this posting.
zeus@9600k:~$ mkdir -p Projects/Digital/distribution/linux/
zeus@9600k:~$ touch Projects/Digital/distribution/linux/Digital.jar
zeus@9600k:~$ ls -l Projects/Now if you see it complete then it should be ok but you can type in the D then hit the tab key once more to get this.
zeus@9600k:~$ ls -l Projects/Digital/Now do the same with a d then tab and a l then tab to get these.
zeus@9600k:~$ ls -l Projects/Digital/distribution/
zeus@9600k:~$ ls -l Projects/Digital/distribution/linux/Which completes the whole path to the .jar file to allow you to list it in the long format.
zeus@9600k:~$ ls -l Projects/Digital/distribution/linux/
total 0
-rw-rw-r-- 1 zeus zeus 0 Mar 14 23:10 Digital.jarAs you can see it comes up as a zero byte file here as I just touched it into existence to show you this. If you cannot complete the path you need to determine where the files were extracted to move them where the script wants them to be or edit the script to look for the correct path to them.
Offline
Dis you miss the shell script `Digital.sh` that calls the Java archive `Digital.jar` in `Digital.zip`?
Emphasis added.
[demo@Manjaro linux]$ ./Digital.sh
Error: Unable to access jarfile /home/demo/Projects/Digital/distribution/linux/Digital.jar
$ https://github.com/hneemann/Digital/releases/latest/download/Digital.zip
$ bsdtar -xf ~/Downloads/Digital.zip
$ cd Digital/
$ find -name distribution
$ cat ./Digital.sh
#!/bin/bash
DIR="$( cd "$( dirname "$( realpath "${BASH_SOURCE[0]}" )" )" >/dev/null && pwd )"
java -jar "$DIR/Digital.jar" "$1"
$ ./Digital.shLast edited by loqs (Today 02:38:33)
Online
Still not working.
[demo@Manjaro linux]$ touch Digital.jar
[demo@Manjaro linux]$ ./Digital.sh
Error: Invalid or corrupt jarfile /home/demo/Projects/Digital/distribution/linux/Digital.jar
[demo@Manjaro linux]$ ls -l
total 16
-rw-r--r-- 1 demo demo 266 Mar 14 20:39 desktop.template
-rw-r--r-- 1 demo demo 0 Mar 14 23:21 Digital.jar
-rwxr-xr-x 1 demo demo 182 Mar 14 20:39 Digital.sh
-rw-r--r-- 1 demo demo 418 Mar 14 20:39 digital-simulator.xml
-rwxr-xr-x 1 demo demo 1123 Mar 14 20:39 install.shOnline
I believe executable jar files need execute bit set
chmod a+x Digital.jar
edit:
But maybe things work differently on manjaro. Maybe you should ask on their support forums
Last edited by skunktrader (Today 03:51:44)
Offline
I believe executable jar files need execute bit set
How will that help with Digital.jar that was just created using touch? MAYBL8 is not following the steps I posted mainly they are using some archive other than Digital.zip.
Last edited by loqs (Today 03:53:26)
Online
How it feels to run shred/wipe in a COW system
Offline
I'm actually sorry, I meant to say "Digital.sh" NOT "Digital.zip".
terrible mistake
Offline
I'm actually sorry, I meant to say "Digital.sh" NOT "Digital.zip".
What happens when you run the script from the console?
Online
Pages: 1