使用Pi4j嵌入式Linux

使用Pi4j嵌入式Linux

本文介绍了使用Pi4j嵌入式Linux JVM编程Raspberry Pi。禁用运行按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试使用Intellij IDEA配置



任何想法?

解决方案

您正在为所有运行配置配置默认设置,而不是定义运行配置。这就是你没有在下拉列表中看到任何内容的原因。如果您想要预先配置某些内容,那就没关系,但您需要使用左上角的绿色 + 图标来定义运行配置:




I have been trying to configure Embedded Linux JVM Debugger with Intellij IDEA on my windows 10 PC. I have followed given instructions and I just cant run aplication becouse Run button is disabled.

I have installed Pi4J on my Windows PC throgh graddle dependency

    compile group: 'com.pi4j', name: 'pi4j-core', version: '1.1'

and Pi4j Project on my Ubuntu Mate on Raspberry 3

Here is screenshot:

As you can see Connection Status: Success

Any Ideas?

解决方案

You're configuring the default setting for all run configurations, instead of defining a run configuration. That's why you don't see anything in the drop-down list. That's fine if you want to have something already pre-configured, but you need to define your run configuration using the green + icon in the upper left corner:

这篇关于使用Pi4j嵌入式Linux JVM编程Raspberry Pi。禁用运行按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 18:09