I'm compiling DrJava by following these instructions.
But when I run ant jar, I get the error:
/Users/arthur/dj/drjava/build.xml:1270: Can't find rt.jar in the Java 7 home: ${env.JAVA7_HOME}
I know that rt.jar is in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/jre/lib.
How do I fix it?
This answer is same as what others have provided - just a little more detailed. So what you simply need is type this on your shell:
export JAVA7_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/jre/lib
Now you have mentioned I know that rt.jar is in /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/jre/lib.
Usually you would not have Contents/Home inside JDK. A standard Java installation should have jdk1.7.0_07.jdk/jre/lib. Check if you have provided the correct path above and rt.jar is indeed in there.
You should make sure you point ant to a JDK rather than to a JRE.
SET PATH TO JDK..This will solve the issue.
I ran into this same problem. Pulak was close, but not quite right: you don't need the jre/lib part at the end. The command that ultimately did the trick for me was:
export JAVA7_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home/
Related
I want to start developing of my first test addon. I have a problem on the basis of mr.bob. Any described ways have leaded to one result. my documentation
log image
Check
mrbob --help
do the same answer.
After I came to the conclusion the problem is in pre-installed Python2.7 with no worked mr.bobe and bobtemplates. I do not know how to make a working set.
Looking at your traceback I guess mr.bob is not fully supporting Windows.
The readline module on Windows is not available. There's some alternatives like pyreadline.
Seems it's a know issue: see https://github.com/domenkozar/mr.bob/issues/49
Don't know about mr.bob, but you could alternatively try adi.devgen (disclaimer: one of my add-ons). Install it with pip:
pip install adi.devgen
And then do:
devgen addOn yournamespace.youraddonname
I'm getting this error in VS Code:
Could not start the julia language server. Make sure the configuration setting julia.executablePath points to the julia binary.
In user settings I put
"julia.executablePath": "c:\\Program Files\\Julia\\Julia-0.5.0\\bin\\julia.exe"
which is a correct executable path.
Julia works without a problem in console and VS Code worked fine with older extension 0.4.2. I've tried reinstalling both the extension and VS Code, but it didn't help.
What am I doing wrong?
I had the same problem, just run Julia REPL and switch to pkg mode with ] and add LanguageServer package with add LanguageServer and restart vs code.
VS Code settings don't seem to always play nice with backslashes. Try instead single slashes, even on Windows:
"julia.executablePath": "c:/Program Files/Julia/Julia-0.5.0/bin/julia.exe"
It may, however, also be a problem with the blank in 'Program Files', in which case the legacy 8.3 filename convention could work:
"julia.executablePath": "c:/PROGRA~1/Julia/Julia-0.5.0/bin/julia.exe"
Note that you would typically have both 'C:\PROGRA~1' and 'C:\PROGRA~2' pointing to 'C:\Program Files' and 'C:\Program Files (x86)', respectively. Find the correct one from the console.
Have a look if the 'LanguageServer' package is actually installed/somehow uninstalled, this happened to me. After manually installing it, it was all fine and dandy again.
Indexing all the packages still takes ages, though.
https://github.com/JuliaEditorSupport/julia-vscode/issues/405
This can happen if the VS Code extension doesn't support the current version of Julia.
Also check that the path is pointing to the julia.exe executable inside the bin folder.
C:\Users\yourname\AppData\Local\Julia-0.5.0\bin\julia.exe
because there is also another one that doesn't work.
C:\Users\yourname\AppData\Local\Julia-0.5.0\julia.exe
Reinstalling Julia solved this for me, I tried the previous answers
It is probably due to a SysImage you have compiled and replaced the original sys.dll file with that. Try to check the path C:\Users\User\AppData\Local\Programs\Julia-1.7.3\lib\julia or any other path you have installed Julia and see if a sys.dll.backup exists there, together with a sys.dll file. Rename the sys.dll to sys.dll.old and rename the sys.dll.backup to sys.dll. Then restart julia or VS Code.
I followed all the step is mention in given below url to build my project( I am using win7 OS).
https://github.com/adobe/brackets-shell/wiki/Building-brackets-shell.
actullly i want to create brackets installer (installed wix 3.7).
but i am getting cef-extract failed error.
even though i also used grunt cef-extract --force.
after that its throunging new error.
create -project failed after that i am not able to process further.
can some one help me.
thanks in advanced.
Regards
ashish .
If you include the exact console output you're seeing, it would be much easier to help you. But based on snags other people have encountered recently, you can try these things:
Make sure your PATH includes Python 2.7 (otherwise "create-project" will fail).
Delete all these folders to be sure you're starting from a clean slate: deps, Debug, include, libcef_dll, Release, Resources.
Just run the high-level tasks grunt setup and grunt build, following the Building brackets-shell instructions. (There's a known bug where grunt cef-extract fails when run standalone).
As i ask before, to use dart-sqlite, I must install dart-ext:sqlite first. But every time I try to build it, I found error= Can not found dart_api.h. how to fix it?
I install it on ubuntu 12.04.
Thank you
It sounds like you didn't follow the build instructions:
Either edit build.sh to point to the SDK, or set the environment variable DART_SDK.
Once you correctly point DART_SDK to the dart-sdk directory of your local Dart installation, the build system will find $DART_SDK/include/dart_api.h just fine.
I am currently trying to create an installation package, using autoconf to generate the configure file. I have successfully managed to auto generate these, however, when I run ./configure, no makefile is generated from Makefile.in.
My question is : how do I debug this issue in order to narrow down why it is failing?
The following is the error message I get when attempting to generate the Makefile :
configure: error: cannot find install-sh, install.sh, or shtool
I had the same problem when I upgraded autotools version, in my case the configure.ac file was missing the following line:
AM_INIT_AUTOMAKE([1.9 foreign])
(Insert whatever version or options you need)
Then run autoreconf --install.
To answer the question about debugging: I went and looked at similar configure.ac files and worked through the differences until the error went way.
First of all, check that configure.ac contains something like:
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
Otherwise it won't create the makefile for you.
If it's not that, config.log should have clues about what's going wrong.
figured it out, it turns out i needed to get rid of the ac_dirs from the configure file, this fixed the issue
I've had this problem, and found it was due to the following line in configure.ac:
AC_CONFIG_AUX_DIR([build-aux])
The line wasn't bad per se, however it needed to be moved closer to the top of the configure.ac file.