search

Apple install windows10

Feb 12, 2024 pm 06:27 PM
appleintellij idea

php editor Baicao introduces you a method: how to install Windows 10 on Apple computers. Although Apple computers themselves are based on the Mac OS system, some users may need to use the Windows 10 operating system in specific situations. Fortunately, Apple computers can achieve the goal of installing Windows 10 by using the Boot Assistant tool and Boot Camp software. In this article, we will introduce you to the entire installation process in detail, allowing you to easily experience the powerful features of Windows 10 on your Apple computer.

https://gradle.org/releases/

2. As shown below, select the version according to your needs. Here select 7.5.1

Apple install windows10

3 , you can choose to download binary or complete. The compete version downloaded here is gradle-7.5.1-all.zip

Apple install windows10Gradle installation

1. Download the gradle-7.5.1-all.zip version After packaging, unzip it to the current folder, as shown below

Apple install windows10

2. The unzipped directory is as follows

Apple install windows10Gradle environment variable configuration

1. Right-click this computer

Apple install windows10

2. Click Properties to find Advanced Configuration

Apple install windows10

3. Click Advanced System Configuration

Apple install windows10

4. Click Environment Variables to configure environment variables and add new system variables

Variable name: GRADLE_HOME

Variable value: E:\software\gradle-7.5.1 (here is the path to the Gradle you decompressed)

Apple install windows10

5. Double-click System variable path

Apple install windows10

6. New variable: %GRADLE_HOME%\bin

#7. Verify whether Gradle is installed successfully. Win r opens the following window, enter cmd, and click OK to open the command window.

Apple install windows10Apple install windows10

8. Verify whether Gradle is installed successfully. Enter the command: gradle -v in the command window. If the following is displayed, the installation is successful.

Apple install windows10Mirror warehouse configuration

1. Find the init.d folder in the decompressed gradle-7.5.1 directory

Apple install windows10

2. Open init.gradle, if not create a new one Just file

Apple install windows10

3. Configure the domestic mirror warehouse of the warehouse to improve the download speed of dependencies. Add the following configuration

allprojects { repositories { mavenLocal() maven { name "Alibaba" ; url "https://maven.aliyun.com/repository/public" } maven { name "Bstek" ; url "https://nexus.bsdn.org/content/groups/public/" } mavenCentral() } buildscript { repositories { maven { name "Alibaba" ; url 'https://maven.aliyun.com/repository/public ' } maven { name "Bstek" ; url 'https://nexus.bsdn.org/content/groups/public/' } maven { name "M2" ; url 'https://plugins.gradle.org/m2/ ' } } }}

4. Configuration screenshot

Apple install windows10Springboot3 project construction Create a new Springboot3 project 1. Use Idea to create a new

a. As shown below, click Intellij Idea File-> New->Project

Apple install windows10

b. Choose to use Spring Initializr to create a new project

Apple install windows10

c. Fill in the project information, select Gradle, and select the Java version. The Java version is based on your own needs. Select

Apple install windows102, Create a new webpage

a. Open https://start.spring.io/address

Apple install windows10

b. Select the new project information, including build tools, languages, Version

Apple install windows10

c. Fill in project information

Apple install windows10

d. Select the required dependencies

Apple install windows103. Open the project with Intellij Idea

a. If you use the one created by Idea, just open it directly;

b. If you use the web page After creating the download, import it into Idea.

Intellij Idea Configure Gradle

1. Create a new Gradle warehouse folder, as shown in the figure below

Apple install windows10

2. Click Idea FIle->Setting

Apple install windows10

3 . Setting interface: Click Build, Execution, deployment > Build Tools > Gradle

Apple install windows10

4. Set Gradle user home to the folder created in step 1

Apple install windows10

5 . Set Use Gradle from as shown in the figure below, where the directory is the Gradle installation directory

Apple install windows10

6. Modify the Gradle JVM, here to jdk17, according to the needs of the self-generated version

Apple install windows10 project Deployment

1. Idea import project construction project

2. Modify the configuration file as follows. The following is the yml file configuration method

Apple install windows10

Need to introduce druid related packages

implementation 'com.alibaba:druid-spring-boot-starter:1.2.12'Apple install windows10

3. The configuration is successful as follows

Apple install windows10Question 1. Build error As follows

Caused by: org.gradle.api.InvalidUserCodeException: Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven( http://maven.aliyun.com/nexus /content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository .html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.

As shown below:

Apple install windows10

Need to check the configuration in the init.gradle file

If it is the following configuration

maven { name "Bstek" ; url "http://nexus.bsdn.org/content/groups/public/" }

maven { name "Bstek" ; url 'http://nexus.bsdn.org/content/groups/public/' }

needs to be modified to

maven { name "Bstek" ; url "https://nexus.bsdn.org/content/groups/public/" }

maven { name "Bstek" ; url 'https://nexus.bsdn.org/content/groups/public/ ' }


After modifying the configuration, the build will be successful.

The above is the detailed content of Apple install windows10. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:电脑知识学习网. If there is any infringement, please contact admin@php.cn delete
Windows 11 Education Download ISO and Install It on PC - MiniToolWindows 11 Education Download ISO and Install It on PC - MiniToolApr 26, 2025 am 12:50 AM

What is Windows 11 Education? If you want to install this system on your PC, how can you do this work? This post from php.cn gives a detailed guide on Windows 11 Education download ISO and how to install it from the ISO file.

How to Fix Outlook Emails Not Showing Up in Inbox - MiniToolHow to Fix Outlook Emails Not Showing Up in Inbox - MiniToolApr 26, 2025 am 12:49 AM

Are your Outlook emails not showing up in Inbox, but showing in search? What steps can you do when Outlook not showing all emails? Now in this post given by php.cn Solution, we will introduce several useful methods to help you address the issue and g

Must-Know Fixes: Windows Stuck on Shutting Down ScreenMust-Know Fixes: Windows Stuck on Shutting Down ScreenApr 26, 2025 am 12:48 AM

If you are trying to power off your computer but encountering the Windows stuck on shutting down screen issue, you can find several helpful fixes from this php.cn guide. Just keep reading to see the details.

[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniTool[Complete Guide] How to Fix Microsoft Teams Error CAA50021? - MiniToolApr 26, 2025 am 12:47 AM

If you are looking for effective solutions to the Microsoft Teams error code CAA50021, this post is worth reading. In this post, php.cn introduces how to get rid of this error in detail. Simply follow it to solve your problem.

Make Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolMake Windows 11/10 Look Like Windows XP Using WindowBlinds 11 - MiniToolApr 26, 2025 am 12:46 AM

Do you want to make Windows 11 or Windows 10 look like Windows XP? Do you know how to do this on your device? You can try the WindowBlinds 11 Beta version now. In this post, php.cn Software will tell you how to download WindowBlinds 11 and introduce

Pro Fixes: Not All of the Updates Were Successfully UninstalledPro Fixes: Not All of the Updates Were Successfully UninstalledApr 26, 2025 am 12:45 AM

If you can’t use the universal way to uninstall Windows updates due to An error has occurred, Not all of the updates were successfully uninstalled, you can try the methods mentioned in the php.cn post to solve the issue.

Fix the System Error – Wacom_tablet.exe Can't End Process - MiniToolFix the System Error – Wacom_tablet.exe Can't End Process - MiniToolApr 26, 2025 am 12:44 AM

What is wacom_tablet.exe? Is the Windows process safe to run? Some people find wacom_tablet.exe can't end process and when this Windows system error happens, you may be overwhelmed and don’t know where to start. On php.cn, this article will resolve y

3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniTool3 Ways for We've Detected Suspicious Behavior on ChatGPT - MiniToolApr 26, 2025 am 12:43 AM

ChatGPT errors are various and we’ve detected suspicious behavior is a common one. If you are trapped in this issue, what should you do? Go on reading this post from php.cn and you can find some useful fixes to help you get rid of trouble.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools