昨天我启动了Java 11,下载了JDK,它是针对PC(windows)的Environment变量制作的, 创建了一个新项目,并将JDK和JRE设置为指向Java 11。
我什至通过[<script type="text/javascript">
function insert_row(){
var firstName = document.getElementById('first_name').value;
var lastName = document.getElementById('last_name').value;
var human = "human";
var table = document.getElementById("saving_table");
// get count of the number of rows that already exist
var rowCount = table.getElementsByTagName("tr").length;
var id = rowCount + 1;
// Create an empty <tr> element and add it to the 1st position of the table:
var row = table.insertRow(id);
row.id=id;
var rowId = row.id;
// Insert new cells (<td> elements) at the 1st and 2nd position of the "new" <tr> element:
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
var cell3 = row.insertCell(2);
// Add some text to the new cells:
cell1.innerHTML = firstName;
cell2.innerHTML = lastName;
cell3.innerHTML = human+ rowId.toString();
id++;
}
在cmd中再次检查了我的Env变量,这很好。
一切似乎都很好,但是我的编译器无法识别conda install -c conda-forge opencv
,有人可以帮忙吗!
我正在尝试执行的基本程序:
echo %JAVA_HOME%
错误是:
@Notnull var
甚至通过以下方式更改了项目结构中的语言级别:
list.stream() .map((@Notnull var s) -> s.toLowerCase()) .collect(Collectors.toList());
到Error:(13, 24) java: cannot find symbol symbol: class Notnull location: class Main
,但无济于事。尝试检查
Ctrl+Shift+Alt+S
,发现X-Experimental features
不是 那里。
答案 0 :(得分:4)
JEP 323提供了在lambda参数上使用注释的语法。
没有名为Notnull
或NotNull
或NonNull
的类。 JEP 323文本中使用“ @Nonnull
”只是如何使用理论注释的一个示例。