Jump to content

Recommended Posts

Posted (edited)

I have a board(nanopi r4s with rk3399 and 4g ram) and I want to run a minecraft server on it. (with adoptopenjdk arm64)

After flashing  the SD image I have the following problems:

  • I can't find the IP address of my board through the IP finding tool. (unable to ssh to my system)
  • # This happened on many OSes, including Debian OS in my VM
    
    $ ls ./
    . .. java (many other files)
    $ ./java
    bash: ./java: No such file or directory

    Something must went wrong...

  • How to plug the network cable? There are 2 ETH ports on the board. The first one has a "WAN" on it. Another one has a "LAN" on it. (scroll down)

 

 

 

                                                   |=                                                          | WAN

internet ---------WAN- router -|= LAN ======= ?? ========                          Nanopi r4s   

                                                   |=                                                          | LAN

Edited by sysdl132
Posted

Hi

 

32 minutes ago, sysdl132 said:

I can't find the IP address of my board through the IP finding tool. (unable to ssh to my system)

Check your router interface. Armbian sets ethernet interface/s by default to DHCP.

 

33 minutes ago, sysdl132 said:
./java

Install openjdk

 

33 minutes ago, sysdl132 said:

How to plug the network cable

Does not matter. Both are GBe PHY. One is directly from the SoC. The other is connected internally via PCIe.

Posted (edited)
On 7/11/2022 at 9:13 PM, Werner said:

 

 

Install openjdk

 

# my console output, using Adoptium JDK package
root@localhost:~# cd /root/jdk8u332-b09/bin/
root@localhost:~/jdk8u332-b09/bin# ls
appletviewer  idlj       java-rmi.cgi  javap     jdeps  jjs         jsadebugd  keytool       policytool   schemagen   unpack200
clhsdb        jar        javac         jcmd      jfr    jmap        jstack     native2ascii  rmic         serialver   wsgen
extcheck      jarsigner  javadoc       jconsole  jhat   jps         jstat      orbd          rmid         servertool  wsimport
hsdb          java       javah         jdb       jinfo  jrunscript  jstatd     pack200       rmiregistry  tnameserv   xjc
root@localhost:~/jdk8u332-b09/bin# ./java
-bash: ./java: No such file or directory

When I'm running "ls " command the java shows up;

But when I execute it, the file can't be executed.

Edited by sysdl132
Posted

Never heard of Adoptium JDK. Make sure you have arm64 binary. x86 or amd64 will not work.

 

Install openjdk17-jre from apt and it will work.

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines