-
Notifications
You must be signed in to change notification settings - Fork 84
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
Make it work on Windows #12
Comments
as Default:
Although java is running on my windows 7 system. |
I've tested it on my own Windows 7 machine and it works fine. I need more information to reproduce the issue. |
Same problem on Win 8.1. Tried a fresh npm install in Windows default cmd with admin rights -- without success. I'm pretty sure it works on my Windows7 machine. I will try to verify that. Any ideas? |
Have you checked if you can run See also this StackOverflow entry, which has comments asking the same question: http://stackoverflow.com/questions/20264628/grunt-htmllint-error-cant-find-java |
This works:
|
Just to be sure though, are you running |
Yes. |
What happens if you run |
This seems to work when using command line. I'm not sure what is meant with drag and drop?
|
Well that is very strange.... |
Can you try this? npm install which
node -e 'console.log(require("which").sync("java"));' On my system that logs |
Getting an error:
|
Is Java in your |
No. I added it and tried a PATH var like this but without success:
One question: do I need java AND javac (aka JRE or SDK)? It seems I've only installed the runtime. |
You should only need the JRE |
@fnagel did you ever get this resolved? |
Nope, but I could try again... it worked before so... |
Tried this again for datepicker (after merging master). Deleted node_modules directory and rerun npm install with admin privileges. It still fails but I get a different error message:
|
@fnagel the latest version should fix this problem |
You may have to explicitly install this module if the version in package.json is out of date, so
|
I've updated the jQueryUI package json to grunt-html 1.4.0 and did same installation process as described above. Same error. Installing with |
WHich version of Windows, 64 or 32 bits? What version of Java and what architecture of java (32 or 64) |
Windows: 8.1 Pro 64bit |
This stack size thing is a nightmare... |
@fnagel It would probably help a lot to install 64bits JRE on a 64bits system but I'll see if there something that can be done. |
@jzaefferer perhaps we have to detect the Java architecture instead of the system one. |
That should be worth a try.
My installed java responds to
Gonna reopen this anyway. |
From my research, we have too look for |
I've tried to change to 64bit architecture: installed 64bit, changed system path variable and rebooted -- command line still seems to use 32bit:
I will give it another try by removing java completely and then reinstall it. |
I have absolutely no clue why but grunt htmllint (testcase is jQuery UI master branch) works now. I did not change anything java specific (since my last comment). Can somebody confirm it#s working on Windows 8.1? Anyway, I'm happy as I'm finally able to run all tests for jQuery UI. |
"Did you try turning it off and on again?" Let's hope this is now resolved and we can leave this ticket closed. |
We still need to add a fix to detect the Java version. That's an issue that come's up fairly often with our developers. |
Supposedly its not working. Need to test at least once.
The text was updated successfully, but these errors were encountered: