iotaledger/iota-java

eclipse : Missing artifact com.sun:tools:jar:1.8

Opened this issue · 5 comments

image
win 10
eclipse Version: 2019-03 (4.11.0)
i got java 8 sdk
i cloned project.
i tried many things adding the jar manualy on some places.
doesn't seem to work. looks like a maven thing

Hello @wonkytonky2

Can you confirm to me that your eclipse is pointing to a JDK (and not a JRE), and that the JDK contains tools.jar?

image
I added the tools.jar by myself here . but it still not works . i use JDK though

@wonkytonky2
Could you clone the following repository, and test if it compiles?
https://github.com/iotaledger/java-md-doclet

In the pom.xml, theres a profiles section on the bottom. Maybe I need to add/change the path for windows.

hello,

@kwek20 i ran into the same error message, i was able to clone the mentioned repo above and compile it (maven clean compile package install), please try to merge the fix you made so we can compile again, thanks!

edit: if i change my pom.xml like this (force newer version of java-md-doclet) the error disappears:

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>com.github.iotaledger</groupId>
				<artifactId>java-md-doclet</artifactId>
				<version>2.1.3</version>
			</dependency>
		</dependencies>
	</dependencyManagement>

@zero24x Yes Great! Once i merged the new release for java-md-doclet, it took too long to get picked up by jitpack so i got distracted :D

Ill get on it!