Giter Club home page Giter Club logo

Comments (7)

mdaneri avatar mdaneri commented on July 25, 2024

Hi,
if you deploy safekeeping
ant configure
ant install

OpenJDK(JRE) should be copied inside the $VMBK_HOME/jre directory.
if you want you can change the JAVA_HOME to point to the right directory.
I have a question what OS are you using and what Java version? because I never saw this issue

from safekeeping.

dmc5179 avatar dmc5179 commented on July 25, 2024

I'm using RHEL 8.2. The reason you're not seeing this issue is probably because you're running:

ant configure
ant install

as root. I cleared out everything and tried the steps again as root. The jre stuff is all copied into the right place.

It might be a good idea to update the installer so as not to require root.

from safekeeping.

mdaneri avatar mdaneri commented on July 25, 2024

on version 2 I moved from Ant to Gradle to support containers. This problem should go away.
Anyway thanks for the feedback I'm going to fix the documentation

from safekeeping.

zhouhb0321 avatar zhouhb0321 commented on July 25, 2024

ubuntu@cli-vm:/opt/vmware/safekeeping$ ./safekeeping
./safekeeping: 3: Syntax error: "(" unexpected

from safekeeping.

mdaneri avatar mdaneri commented on July 25, 2024

Line 3 of https://github.com/vmware/safekeeping/blob/master/support/safekeeping is function usage()

How can you have an error here?
first 10 lines:

#!/bin/sh

function usage()
{
    $JAVA_HOME/bin/java -jar $VMBK_JAR/vmbkcmd.jar help
    echo
    echo "Debug Mode:"
    echo "$0  -d=<port> | --debug=<port>  <command> <options....>"
    echo ""
}

from safekeeping.

mdaneri avatar mdaneri commented on July 25, 2024

I worried that Ubuntu doesn't like Windows EOL (CR LF).
please try to convert the file from Windows EOL to Unix EOL (LF)

from safekeeping.

mdaneri avatar mdaneri commented on July 25, 2024

I changed the file on GitHub. Please let me know if solve your issue

from safekeeping.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.