Bitcoin Forum
November 18, 2018, 03:14:08 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stratum Proxy not working with Java  (Read 1163 times)
Oracle1
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
July 25, 2015, 07:26:40 AM
 #1

Hi All, thanks in advance for any help. I am a relative newbie at mining and it has been a steep learning curve. I now have two rigs up and running (GPU) and I am trying to set up a stratum proxy server. When I try to run the startup command in the command line editor I get the following error message


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\oracle1>cd C:\Users\oracle1\Documents\Bitcoin\Bitcoin Software\Latest M
iner\gorge shit\stratum-proxy-0.8.0

C:\Users\oracle1\Documents\Bitcoin\Bitcoin Software\Latest Miner\gorge shit\stra
tum-proxy-0.8.0>java -jar stratum-proxy.jar -f stratum-proxy-nicehash.conf
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/
provider/BouncyCastleProvider
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.privateGetMethodRecursive(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.Bounc
yCastleProvider
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 7 more

C:\Users\oracle1\Documents\Bitcoin\Bitcoin Software\Latest Miner\gorge shit\stra
tum-proxy-0.8.0>


I have deinstalled and clean reinstalled Java a number of times and no joy. Happy to provide any further info just not sure where to go with this?
1542554048
Hero Member
*
Offline Offline

Posts: 1542554048

View Profile Personal Message (Offline)

Ignore
1542554048
Reply with quote  #2

1542554048
Report to moderator
1542554048
Hero Member
*
Offline Offline

Posts: 1542554048

View Profile Personal Message (Offline)

Ignore
1542554048
Reply with quote  #2

1542554048
Report to moderator
1542554048
Hero Member
*
Offline Offline

Posts: 1542554048

View Profile Personal Message (Offline)

Ignore
1542554048
Reply with quote  #2

1542554048
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Oracle1
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
July 27, 2015, 10:03:19 AM
 #2

solved by reinstalling all the software and moving file locations
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!