# Java EnvironmentexportJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-22.jdk/Contents/Home
# Gradle environmentexportGRADLE_HOME=/Library/Java/env/gradle-8.5
# CLASSPATH: adding JAVA_HOME/lib/tools.jar and JAVA_HOME/lib/dt.jar if they existif[-d"$JAVA_HOME/lib"];thenexportCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.
fi# PATH: add all necessary paths in one lineexportPATH=$JAVA_HOME/bin:$GRADLE_HOME/bin:$PATH:.
保存变量配置:
source ~/.bash_profile
验证安装结果:
yang@MacdeMac-mini ~ % gradle -v
Welcome to Gradle 8.5!
Here are the highlights of this release:
- Support for running on Java 21
- Faster first use with Kotlin DSL
- Improved error and warning messages
For more details see https://docs.gradle.org/8.5/release-notes.html
------------------------------------------------------------
Gradle 8.5
------------------------------------------------------------
Build time: 2023-11-29 14:08:57 UTC
Revision: 28aca86a7180baa17117e0e5ba01d8ea9feca598
Kotlin: 1.9.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 42023
JVM: 22.0.1 (Oracle Corporation 22.0.1+8-16)
OS: Mac OS X 14.7.1 x86_64
VMware Workstation Pro 17免费开放啦 VMware Workstation Pro 17.6.2 版本介绍一、免费开放二、性能与稳定性提升三、重要问题修复1. Linux 快照崩溃问题解决2. Windows 11 主机优化3. Linux 内核兼容性增强 四、功能亮点1. 全新的性能优化2. 稳定性和可靠性增强3. 更友好的用…
前端工程结构,angular: 环境变量文件说明:
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses environment.ts, but if you do
// n…
AI 大模型突然大火了
回顾2024年,计算机领域最大的变革应该就是大模型进一步火爆了。回顾下大模型的发展历程:
萌芽期:(1950-2005) 1956年:计算机专家约翰麦卡锡首次提出“人工智能”概念,标志…
首先下载cJSON,加入项目; 构建工程,如果出现,
fatal error C1010: unexpected end of file while looking for precompiled head
在cJSON.c文件的头部加入#include "stdafx.h"; 看情况,可能是加到.h或者是.cpp文件的头部,它如果有包含头文件,
#include &…