首页 > 其他分享 >IDEA中Which one is undefined问题

IDEA中Which one is undefined问题

时间:2022-12-19 16:44:06浏览次数:72  
标签:profile JAVA undefined IDEA 问题 https PATH HOME

解决MAC IDEA 中libinstrument.dylib (0x1053dc4e0). One of the two will be used. Which one is undefined

 

解决方案1:【可用】

参考:https://blog.csdn.net/liuCoding/article/details/109803612

# custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true

解决方案2:

参考:https://www.cnblogs.com/taojintianxia/p/8399246.html

右键项目 -> open module settings -> Project

在project jdk上edit,然后选一个最新的jdk即可

MAC配置环境变量

参考:https://www.jianshu.com/p/1e1185dc22bd

touch .bash_profile

open .bash_profile

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
CLASSPAHT=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
PATH=$JAVA_HOME/bin:$PATH:
export JAVA_HOME
export CLASSPATH
export PATH

source .bash_profile

标签:profile,JAVA,undefined,IDEA,问题,https,PATH,HOME
From: https://www.cnblogs.com/zpfbuaa/p/16992535.html

相关文章