Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on ubuntu #420

Closed
savagesam93 opened this issue Jan 30, 2019 · 8 comments
Closed

Installing on ubuntu #420

savagesam93 opened this issue Jan 30, 2019 · 8 comments

Comments

@savagesam93
Copy link

Can anyone give me tips on how to install diylc on ubuntu? Ive been trying for a little while and am having trouble.

@ghost
Copy link

ghost commented Jan 31, 2019 via email

@savagesam93
Copy link
Author

Tried what editing the run.sh file and when i run it i see the splash screen pop up briefly before getting this message

/home/rowsdower/diylc/run.sh: line 3: -Dfile.encoding=UTF-8: command not found

@storecorebore
Copy link

storecorebore commented Feb 22, 2019

first, make a copy of your run.sh file.

then replace the contents of the original run.sh to the below and see if it starts up for you.

java -cp diylc.jar:lib org.diylc.DIYLCStarter

@johncala55
Copy link

I am having a similar issue, but I instead receive the error Could not find or load main class org.diylc.DIYLCSTARTER

Tried to edit run.sh as suggested in the previous comments.

@storecorebore
Copy link

storecorebore commented Feb 28, 2019

I am having a similar issue, but I instead receive the error Could not find or load main class org.diylc.DIYLCSTARTER

this is a path error. you are using ubuntu or some linux type enviornment correct? assuming you placed the diylc zip in the Downloads directory off your home, open a command terminal and run the following commands (adjust for your directory location and the release version if needed).

cd Downloads
mkdir diy
cd diy
unzip ../diylc-3.54.0.zip
chmod 744 run.sh
./run.sh

if you get an error, type the following command in the terminal instead of ./run.sh. this should only be done for testing purposes.

java -cp diylc.jar:lib org.diylc.DIYLCStarter

if neither of these methods work, please post the errors.

@johncala55
Copy link

I've realized the error- I was downloading something called the diy-layout-creator-master (which, I'm guessing is the archive used for building?) rather than the plain ol' latest release archive, so run.sh was having an issue pointing to the correct path. Thanks for your assistance, all is working fine now.

@ChrisOfBristol
Copy link

ChrisOfBristol commented Mar 20, 2019

I used to supply a Debian (.deb) package for DIYLC, this is a software package which is installed by a double-click on a Debian-based system. It was available on GetDeb which was an unofficial repository, but that appears to have changed hands and become unusable now. I have a deb for version 3.56.0 - if you want it just email me with my username here followed by (at)ymail.com.

@joecool85
Copy link

I had the same " -Dfile.encoding=UTF-8: command not found" error. I figured it out though and feel silly. Lines two and three need to be one line. IE, it should read like this:

cd '/home/michael/diylc'
java -splash:splash.png -Xms64m -Xmx256m -Dorg.diylc.scriptRun=true -Dfile.encoding=UTF-8 -cp diylc.jar:lib org.diylc.DIYLCStarter

@bancika bancika closed this as completed Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants