Skip to content

build in Windows 7 #21

Open
Open

Description

@NeilMelb

Hi every-one

I'm having trouble building Openccg in Windows 7.

I have downloaded the most recent Java Development Kit. I have tried setting the CCG_HOME path to either the higher level openccg directory or the openccg/bin directory without success. I have located the javac file and pointed the JAVA_HOME path to that directory.

Whenever I try to run ccg-build at the cmd prompt (from either the bin or openccg directory) I get an error message that the system cannot find the path specified.

Any ideas?

many thanks

Neil

Activity

  1. dmhowcroft commented on Dec 10, 2018

    @dmhowcroft
    Contributor

    Are you literally setting a variable named CCG_HOME or are you setting OPENCCG_HOME? I believe the latter is the one that OpenCCG expects to find.

    Could you please copy and paste the error message that you're getting? (Anonymizing any directory names, etc, that you don't want shared, of course.)

    Thanks!

  2. NeilMelb commented on Dec 11, 2018

    @NeilMelb
    Author
  3. dmhowcroft commented on Dec 11, 2018

    @dmhowcroft
    Contributor

    Hi Neil,

    I don't think your attachment got transferred to GitHub. I've never used the email interface before, but my guess is that you have to add attachments in the web view rather than emailing them.

    The ccg-build.bat file probably doesn't work because it's trying to call ccg-env.bat at the start of the script, but you've moved the file down to OPENCCG_HOME. When you tried to run ccg-build before, were you running .\bin\ccg-build.bat from OPENCCG_HOME?

    Cheers,
    Dave

  4. NeilMelb commented on Dec 11, 2018

    @NeilMelb
    Author
  5. shoeffner commented on Dec 12, 2018

    @shoeffner
    Contributor

    Hi Neil,

    unfortunately, your attachment is still missing.

    Please try not to move the build.xml to the bin directory, instead, go to your OPENCCG_HOME directory and run that command as @dmhowcroft mentioned above:

    .\bin\ccg-build.bat
    

    The reason is that

    • ccg-build expects some files to be in the right place
    • the build.xml contains path information relative to its current location, so if you move it, this information would also need to be changed.

    If it still does not work, please try to attach your error log using the GitHub user interface or just copy it verbatim to your email text, not as an attachment.

    Sebastian

  6. dmhowcroft commented on Dec 15, 2018

    @dmhowcroft
    Contributor

    Hey Neil,

    Just did a clean install of Python and Java 8 on my old Windows 7 laptop and was mostly able to follow the instructions in my tutorial. What I had to change:

    1. Small edit to ccg-build.bat
    2. Adding Python to the Path

    For (1), I had to change the line call ccg-env to call .\bin\ccg-env. I think this is because my tutorial does not say to add $OPENCCG_HOME\bin to the system path and the ccg-build.bat script is looking for ccg-env.bat relative to the location where it's being called.

    For (2), I right clicked on "My Computer" and opened properties, chose the "Advanced" tab and then "Environment Variables" to add ;C:\Python27 to the end of the Path variable (since that's where my python.exe is).

    Please let me know if these solutions help you as well.

    Cheers,
    Dave

  7. NeilMelb commented on Dec 17, 2018

    @NeilMelb
    Author
  8. dmhowcroft commented on Dec 30, 2018

    @dmhowcroft
    Contributor

    Hey @NeilMelb, have you had any luck with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions