version

How to check which installed JDK used during Gradle build process

痞子三分冷 提交于 2019-12-02 12:29:55
This was my output of gradle -v (in a project using the wrapper): $ ./gradlew -v ------------------------------------------------------------ Gradle 5.0 ------------------------------------------------------------ Build time: 2018-11-26 11:48:43 UTC Revision: 7fc6e5abf2fc5fe0824aec8a0f5462664dbcd987 Kotlin DSL: 1.0.4 Kotlin: 1.3.10 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 11.0.1 (Oracle Corporation 11.0.1+13-LTS) OS: Linux 3.10.0-862.11.6.el7.x86_64 amd64 See especially this line: JVM: 11.0.1 (Oracle Corporation 11.0.1+13-LTS) I was wishing to switch to

jquery 1.4.2 working for iCheckBox and not jquery 1.6

走远了吗. 提交于 2019-12-02 10:01:38
I am using this jquery plugin for Apple like checkbox button. However when I use jquery version 1.4.2 it works perfectly but when I try to use jquery version 1.6. that plugin doesn't work. I tried debugging javascript using IE9 developer toolbar but it is not throwing any error. Thank you. mikkelbreum EDIT: got it working in FF4 as well now, see this: jQuery 1.6: backgroundPosition vs backgroundPositionX and FF4 compatibility Got it working with jQuery 1.6.x and 1.5.x (in Safari and Chrome on Mac, not working in FF4/Mac) There were two problems with the original code, one making it

SVN Checkout with @version $Id$ set

痞子三分冷 提交于 2019-12-02 09:28:53
I develop in Subversion, and at the top of each and every PHP file I have the following comment block; <?php if(!defined('BASEPATH')) die('Direct Script Access is not allowed.'); /** * Project Name * * @author Sheldon Lendrum * @version $Id$ * @copyright __MyCompanyName__, 29 January, 2011 * @package default **/ What I would like to do is when exporting it( or even checking out on the main server, to set that $Id$ of the current head ? I use Subversion on OSX and Debian for my primary web servers. meouw You need to set the svn:keywords property on your files in your repository. Check out

I'm getting an error in wamp about PHP path [duplicate]

ε祈祈猫儿з 提交于 2019-12-02 09:04:44
问题 This question already has answers here : How To Run PHP From Windows Command Line in WAMPServer (11 answers) Closed 10 months ago . When I start wamp it shows me this error about the PHP path but I don't even have this PHP version on my computer. Sorry, There is an error. There is Wampserver path (c:/wamp64) into Windows PATH environnement variable: (C:\wamp64\bin\php\php7.2.4) It seems that a PHP installation is declared in the environment variable PATH C:\wamp64\bin\php\php7.2.4 Wampserver

My Java version is the newest version but my JVM is still 1.5?

怎甘沉沦 提交于 2019-12-02 08:37:44
Recently I tried to use Eclipse but when I open it,it told me my JVM verion is too old Incompatible JVM Version 1.5.0_05 of the JVM is not suitable for this product.<br> Version: 1.6 or greater is required What make me feel strange is that' my java verion is the newest verion . Also I have tried to install the last version from Oracle... jre,jdk or whatever, the same error come every time I start Eclipse Please don't tell me to edit the data in "eclipse.ini" from turning 1.6 to 1.5 as I have ever tried it and get an error by saving a .class file.E This happen when you have another java version

Trying to test my app on iPhone iOS 6.1.2 but “No provisioned iOS devices…” error?

孤人 提交于 2019-12-02 08:08:40
问题 I have a big problem. I have an iPhone with iOS 6.1.2 and the latest version of Xcode - 4.6.1. When I try to test my app on that device, Xcode says that "No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination." Where is the problem and how to solve this? I tried going to Organizer, right click on device and adding device to provisioning profile, but

Unable to install Flask-Mail

淺唱寂寞╮ 提交于 2019-12-02 05:34:35
问题 I am trying to send an email using Flask when a user registers on my website. I used the command pip install Flask-Mail to install. However, I get the following error of possible version mismatch: Downloading/unpacking Flask-mail Downloading Flask-Mail-0.9.1.tar.gz (45kB): 45kB downloaded Running setup.py (path:/tmp/pip_build_root/Flask-mail/setup.py) egg_info for package Flask-mail Traceback (most recent call last): File "<string>", line 17, in <module> File "/tmp/pip_build_root/Flask-mail

Show Product Version column with the msi file in windows explorer

大兔子大兔子 提交于 2019-12-02 05:16:59
问题 I have an msi which is developed using wix. CustomAction in wix project triggers a Winform UI. <Product Id="*" Name="App" Language="1033" Codepage="UTF-8" Version="10.10.10.10" Manufacturer="Corporation" UpgradeCode="{Your app Upgrade code}"> So in C# winform, i am able to get the ProductVersion (from above code in wix project .wxs file) in winform. I want to know that how can i show that product version with the msi file in Windows Explorer. Please help, Thanks in advance. 回答1: Windows

Command Python2 not found

*爱你&永不变心* 提交于 2019-12-02 05:14:34
I have to use Python2 for the following command: python2 -m pip install SomePackage in the command line. I get the message that Python2 is not found, but I have definitly installed Python 2.7.1. When I run python --version I get the output Python 3.5.1 . Edit: I use Windows. And the commands whereis and env were also not found. Under windows you have to use: py -2 yourfilename // for python2.x py -3 yourfilename // for python3.x M.T If you really have installed python2.x and it is on your path , you can ensure that you are installing for python2 by running pip2 install somepackage Equivalently

Tomcat - UnsupportedClassException

♀尐吖头ヾ 提交于 2019-12-02 04:28:34
问题 I have a problem deploying compiled classes in a Tomcat web application: I'm deploying a class which is to be called from a servlet, but when I run the application it fails telling me of a ServletException: Error allocating the servlet instance due to an UnsupportedClassVersionError: Bad version number in .class file . Tomcat is using Java 1.5.0_06 as reported by the manager. My class was compiled using Java 1.6.0_14. Running javap on any of the classes already present tells me "Major version