(The type sun.net.smtp.SmtpClient is not accessible) in jdk 11 [duplicate]











up vote
1
down vote

favorite













This question already has an answer here:




  • Accessing com.sun.tools.javac.util from Java 9

    1 answer



  • It is a bad practice to use Sun's proprietary Java classes?

    7 answers



  • Eclipse/Java9: how to access internal javafx packages?

    3 answers




Why am getting this issue, can anybody tell



Why am getting this issue, can anybody tell?










share|improve this question















marked as duplicate by user7294900, Stephen C java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 8 at 11:41


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    See stackoverflow.com/questions/1834826/…
    – user7294900
    Nov 8 at 10:55










  • You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
    – Stephen C
    Nov 8 at 11:17










  • The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
    – Stephen C
    Nov 8 at 11:46

















up vote
1
down vote

favorite













This question already has an answer here:




  • Accessing com.sun.tools.javac.util from Java 9

    1 answer



  • It is a bad practice to use Sun's proprietary Java classes?

    7 answers



  • Eclipse/Java9: how to access internal javafx packages?

    3 answers




Why am getting this issue, can anybody tell



Why am getting this issue, can anybody tell?










share|improve this question















marked as duplicate by user7294900, Stephen C java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 8 at 11:41


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.











  • 1




    See stackoverflow.com/questions/1834826/…
    – user7294900
    Nov 8 at 10:55










  • You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
    – Stephen C
    Nov 8 at 11:17










  • The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
    – Stephen C
    Nov 8 at 11:46















up vote
1
down vote

favorite









up vote
1
down vote

favorite












This question already has an answer here:




  • Accessing com.sun.tools.javac.util from Java 9

    1 answer



  • It is a bad practice to use Sun's proprietary Java classes?

    7 answers



  • Eclipse/Java9: how to access internal javafx packages?

    3 answers




Why am getting this issue, can anybody tell



Why am getting this issue, can anybody tell?










share|improve this question
















This question already has an answer here:




  • Accessing com.sun.tools.javac.util from Java 9

    1 answer



  • It is a bad practice to use Sun's proprietary Java classes?

    7 answers



  • Eclipse/Java9: how to access internal javafx packages?

    3 answers




Why am getting this issue, can anybody tell



Why am getting this issue, can anybody tell?





This question already has an answer here:




  • Accessing com.sun.tools.javac.util from Java 9

    1 answer



  • It is a bad practice to use Sun's proprietary Java classes?

    7 answers



  • Eclipse/Java9: how to access internal javafx packages?

    3 answers








javascript java spring web-services






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 8 at 10:56









benichka

5561824




5561824










asked Nov 8 at 10:52









vijay

61




61




marked as duplicate by user7294900, Stephen C java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 8 at 11:41


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by user7294900, Stephen C java
Users with the  java badge can single-handedly close java questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 8 at 11:41


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.










  • 1




    See stackoverflow.com/questions/1834826/…
    – user7294900
    Nov 8 at 10:55










  • You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
    – Stephen C
    Nov 8 at 11:17










  • The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
    – Stephen C
    Nov 8 at 11:46
















  • 1




    See stackoverflow.com/questions/1834826/…
    – user7294900
    Nov 8 at 10:55










  • You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
    – Stephen C
    Nov 8 at 11:17










  • The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
    – Stephen C
    Nov 8 at 11:46










1




1




See stackoverflow.com/questions/1834826/…
– user7294900
Nov 8 at 10:55




See stackoverflow.com/questions/1834826/…
– user7294900
Nov 8 at 10:55












You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
– Stephen C
Nov 8 at 11:17




You shouldn't be using that class. The javax.mail APIs have existed for a long time, and I'me sure you could find 3rd-party alternatives if you needed to.
– Stephen C
Nov 8 at 11:17












The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
– Stephen C
Nov 8 at 11:46






The first linked Q&A explains how to solve this problem for Java 9 and later. The third one (I think) explains how to do it with Eclipse ... but I'm not sure it deals with the runtime restrictions.
– Stephen C
Nov 8 at 11:46



















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)