elective-stereophonic
elective-stereophonic
Compile Error java
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Author Topic: Compile Error java  (Read 617 times)

jonnytracker

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 35
    • View Profile
Compile Error java
« on: April 26, 2018, 01:44:54 pm »

it is a little java related but since im trying to compile nxt-clone i will shoot it here  ;D

cant compile because java sdk missing


installed the default java but , when i tried to install java 8 it fails. Trying this command gives this error


add-apt-repository ppa:openjdk-r/ppa

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)   
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling
Logged

VanBreuk

  • Administrator
  • Hero Member
  • *****
  • Karma: +362/-19
  • Offline Offline
  • Posts: 2772
    • View Profile
Re: Compile Error java
« Reply #1 on: April 26, 2018, 03:34:35 pm »

Installing with PPAs is more meant for Ubuntu linux, and you seem to be running Kali.

Try these steps and let us know if it works.
Logged
GPG Fingerprint: B020 D1C1 F289 3B2C 3577  9EAD 455D D175 5913 C7F1

jonnytracker

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 35
    • View Profile
Re: Compile Error java
« Reply #2 on: April 26, 2018, 04:33:01 pm »

Thanks very much it works

compiling nxt core...
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
nxt core class files compiled successfully
compiling nxt desktop...
Note: src/java/nxtdesktop/JavaScriptBridge.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
nxt desktop class files compiled successfully
no add-ons to compile
compilation done
Logged
 

elective-stereophonic
elective-stereophonic
assembly
assembly