Flyway java version 11.0.2 upgrade - flyway

I am trying to update the the java version packaged in flyway and is currently showing the following. how do i upgrade to latest?
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.2+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.2+9, mixed mode)

I am assuming you are trying to upgrade the JRE shipped with the command line bundle of Flyway.
In this case, if you remove JRE folder from the install directory it will attempt to use the version of the JRE which is installed on your system.
Unfortunately, there is no upgrade path for this folder but you could replace the content of it with the install folder of a newer JRE if you wish to keep it local.

Related

Remove older version of application using MSIX Installer

How can I delete the older version of an application before installing the newer released version?
In other words, is there a way to automatically remove "MSIXDemoInstaller_1.0.0.0_Test" file before installing "MSIXDemoInstaller_1.0.1.0_Test" file?
You don't have to do anything special for this, the OS will handle it automatically. Just increase the version when building your new version. When you install it on a machine with the old version the OS will automatically apply it as an upgrade.

Where can I download previous / older versions of Flyway?

We are currently running version 4.0.3 and can't go to the latest as support for our database has been dropped (SQL Server 2012). I would like to get the latest version 4 release (4.2.0) - can anyone tell me if this is possible and if so, where can I find it?
Apparently the source code for all previous versions is in GitHub. Now the question becomes "Is there anywhere I can find the Windows executable version of Flyway 4.2.0?"...
You will probably have to build the executable from source using one of the releases on their Github. 4.2.0 is available here
The various binaries, as well as the source, for 4.2.0 can be downloaded from Maven Central.
Here is the 4.2.0 Windows zip.

Can't install ASP.NET Core SDK on Mac

I'm trying to install the ASP.NET Core 2.0 API on my MacBook Pro.
I've downloaded both dotnet-sdk-2.0.2-osx-x64.pkg and dotnet-sdk-2.0.2-osx-gs-x64.pkg and when I try to launch either of them an installer dialog is displayued that just reads:
Verifying "dotnet-sdk-2.0.2-osx-x64.pkg"
or
Verifying "dotnet-sdk-2.0.2-osx-gs-x64.pkg"
but nothing further happens.
I am running OS X El Capitan 10.11.6 and have all of the latest updates for Visual Studio installed.
I can't locate any further information or instructions for installation. Please help.
From https://learn.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore2x:
.NET Core 2.x is supported on the following versions of macOS: macOS
10.12 "Sierra" and later versions
Looks like it might be time to upgrade to Sierra. That represents a change from the 1.1 requirements, which supported El Capitan.
FWIW I'm running Sierra on a mid-2012 MacBook Pro with 8GB of RAM and it performs just fine.

WAMP Dependencies for Installation [duplicate]

WAMP won't turn green. It was working fine a couple of weeks ago. When looking at other answers on this topic, a lot said to install services in Apache.
When I do this, I get an error code stating:
"The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix the problem."
As Oriol said, you need the following redistributables before installing WAMP.
From the readme.txt
BEFORE proceeding with the installation of Wampserver, you must ensure
that certain elements are installed on your system, otherwise
Wampserver will absolutely not run, and in addition, the installation
will be faulty and you need to remove Wampserver BEFORE installing the
elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9,
VC10, VC11, VC13 and VC14 Even if you think you are up to date,
install each package as administrator and if message "Already
installed", validate Repair.
The following packages (VC9, VC10, VC11) are imperatively required to Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions VC11 and VC14 is required for PHP 7 and Apache 2.4.17
VC9 Packages (Visual C++ 2008 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=5582
https://www.microsoft.com/en-us/download/details.aspx?id=2092
VC10 Packages (Visual C++ 2010 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=8328
https://www.microsoft.com/en-us/download/details.aspx?id=13523
VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
VC13 Packages[/b] (Visual C++ 2013)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe
VC14 Packages (Visual C++ 2015)
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/en-us/download/details.aspx?id=52685
VC Packages x64 (Visual C++ 2017)
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Quite simply:
Uninstall wampserver
Install Visual C++ Redistributable for Visual Studio 2015
Install wampserver
VCRUNTIME140.dll error
This error means you don't have required Visual C++ packages installed in your computer.
If you have installed wampserver then firstly uninstall wampserver.
Download the VC packages
Download all these VC packages and install all of them. You should install both 64 bit and 32 bit version.
-- VC9 Packages (Visual C++ 2008 SP1)--
http://www.microsoft.com/en-us/download/details.aspx?id=5582
http://www.microsoft.com/en-us/download/details.aspx?id=2092
-- VC10 Packages (Visual C++ 2010 SP1)--
http://www.microsoft.com/en-us/download/details.aspx?id=8328
http://www.microsoft.com/en-us/download/details.aspx?id=13523
-- VC11 Packages (Visual C++ 2012 Update 4)--
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page http://www.microsoft.com/en-us/download/details.aspx?id=30679
-- VC13 Packages] (Visual C++ 2013)--
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page https://www.microsoft.com/en-us/download/details.aspx?id=40784
-- VC14 Packages (Visual C++ 2015)--
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page
http://www.microsoft.com/en-us/download/details.aspx?id=48145
install packages with admin priviliges
Right click->Run as Administrator
install wampserver again
After you installed both 64bits and 32 bits version of VC packages then install wampserver again.
You need to install some Visual C++ packages BEFORE installing WAMP (if you have installed then you must uninstall and reinstall).
You need: VC9, VC10, VC11, VC13 and VC14
In readme.txt of wampserver 3 (on SourceForge) you can find the links.
Be careful! If you use a 64-bit OS you need to install both versions of each package.
I had the same problem, and I solved it by installing :
Redistribuable Visual C++ pour Visual Studio 2012 Update 4 (6.9 MB)
Redistributable Visual C++ pour Visual Studio 2015 Update 1 (14.1 MB)
NB : 64 bit installation was enough, I had to uninstall / reinstall Wamp after that
Since you already had a running version of WAMP and it stopped working, you probably had VCRUNTIME140.dll already installed. In that case:
Open Programs and Features
Right-click on the respective Microsoft Visual C++ 20xx Redistributable installers and choose "Change"
Choose "Repair". Do this for both x86 and x64
This did the trick for me.
After lots and lots of installing and uninstalling for a whole day and trying every packages for every answers in here, the only thing that worked for me was:
Uninstall Wamp and reboot
installing Visual Studio 2017 Community edition and choose "Web development" and check all of the options in the right site. Here's a screenshot:
This somehow install something that is needed for Wamp as well.
install Wamp, and you should be all good.
Link to visual studio 2017 Community edition
WAMP is not turning GREEN? Don`t panic
First of all check your windows update by searching "Windows Update"
or
Download updates from microsoft windows site (i had windows 7 x64 updated to service pack 1 full) windows 7 Service pack 1 download
Now there are some more downloads that support WAMP for installing time
From the readme.txt
BEFORE proceeding with the installation of Wampserver, you must ensure
that certain elements are installed on your system, otherwise
Wampserver will absolutely not run, and in addition, the installation
will be faulty and you need to remove Wampserver BEFORE installing the
elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9,
VC10, VC11, VC13 and VC14 Even if you think you are up to date,
install each package as administrator and if message "Already
installed", validate Repair.
The following packages (VC9, VC10, VC11) are imperatively required to
Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP
versions VC11 and VC14 is required for PHP 7 and Apache 2.4.17
VC9 Packages (Visual C++ 2008 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=5582
https://www.microsoft.com/en-us/download/details.aspx?id=2092
VC10 Packages (Visual C++ 2010 SP1)
https://www.microsoft.com/en-us/download/details.aspx?id=8328
https://www.microsoft.com/en-us/download/details.aspx?id=13523
VC11 Packages (Visual C++ 2012 Update 4) The two files
VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on
the same page:
http://www.microsoft.com/en-us/download/details.aspx?id=30679
VC13 Packages[/b] (Visual C++ 2013) The two files
VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe
VC14 Packages (Visual C++ 2015) The two files vcredist_x86.exe and
vcredist_x64.exe to be download are on the same page:
https://www.microsoft.com/en-us/download/details.aspx?id=52685
VC Packages x64 (Visual C++ 2017)
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Install 32-bit JDK on Natty 64-bit, I

I want to install Oracle's JDK (32 bit version) under Ubuntu Natty (64 bit version). While there is a package for JRE (32 bit version), I want JDK (32 bit version).
I want to avoid the installer provided with the .bin file, and rather use a .deb file. However, it seems the package java-helper has disappeared in Natty. What can I do?
The Java compiler produces byte code which is same whether you use the 32-bit or 64-bit JDK and plan to use the 32-bit or 64-bit JRE.
The bit-ness of the JDK and JRE don't have to be the same and its unlikely you will notice the difference. (The maximum memory is possibly the main one)
The JDK installation can be treated as 'zip' installation, which means that the installer simply unzips the content of jdk to the target directory on your machine. You can try to copy-paste the required jdk directory to your machine and probably set JAVA_HOME variable if needed. The above should do the magic.
Happy coding!

Resources