Bitcoin Forum
July 07, 2024, 12:25:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Stratum Proxy not working with Java  (Read 1257 times)
Oracle1 (OP)
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?
Oracle1 (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!