I figured out that I was not using the correct JAVA_HOME. I had to set 
JAVA_HOME to '/usr/lib/jvm/java-8-openjdk'. But now I get this error 

`Error: Could not find or load main class xq.boot.Boot`


On Thursday, 2 September 2021 at 16:10:59 UTC+5:30 Bevan Stanely wrote:

> I am on arch linux and I have the following file in my system:
>
> /usr/lib/jvm/java-8-openjdk/bin/native2ascii
>
> On Thursday, 2 September 2021 at 16:07:46 UTC+5:30 Bevan Stanely wrote:
>
>> I get the following error when I try to compile with `./sbt`. The issue 
>> is with object native2ascii is not a member of package sun.tools. I don't 
>> think it's a JDK issue. Any thoughts?
>> ```bash
>> $ ./sbt
>> [info] welcome to sbt 1.3.13 (Oracle Corporation Java 1.8.0_292)
>> [info] loading settings for project root from plugins.sbt,build.sbt ...
>> [info] loading project definition from /home/user/NetLogo/project
>> [info] Compiling 38 Scala sources to 
>> /home/user/NetLogo/project/target/scala-2.12/sbt-1.0/classes ...
>> [error] /home/user/NetLogo/project/I18n.scala:29:20: object native2ascii 
>> is not a member of package sun.tools
>> [error]     (new sun.tools.native2ascii.Main).convert(
>> [error]                    ^
>> [error] one error found
>> [error] (Compile / compileIncremental) Compilation failed
>> Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q
>> ```
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netlogo-devel/078d6f5b-9c6a-48bf-a518-fd7987080df8n%40googlegroups.com.

Reply via email to