elective-stereophonic
elective-stereophonic
How to setup Minting for Windows
singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client: Nxt 1.11.15

Pages: 1 2 3 [All]

Author Topic: How to setup Minting for Windows  (Read 12043 times)

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
How to setup Minting for Windows
« on: January 11, 2015, 03:28:29 pm »

Posting this as the instructions that are referenced can be damn confusing for the less tech savvy:

1.  Go to your Nxt conf folder
2.  Copy the nxt-default.properties file and rename it to nxt.properties
3.  Remove ALL the text in the nxt.properties file
4.  Copy ONLY the lines below to the nxt.properties file and set them up for your individual situation (i.e. enter your own passphrase and change the currency)

nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=[put coin code here, i.e. ELEMS, EGOLD, etc.]
nxt.mint.secretPhrase=your account passphrase
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

THE ABOVE IS ALL YOU NEED IN THE FILE

Go to your root Nxt directory and look in there.  See the mint.bat file?  THAT is what you need to run as it executes the necessary JAVA command to run the above statements.

You should be minting now.

EDIT:  Replaced "Miner" with "Minting" in title.

EDIT:  Updated for Security concerns:  For all MS currencies while minting the passphrase of the minting account is sent to the host. It is strongly advised to mint from an account that has a low balance of nxt.

EDIT:  Modify mint.bat if Java crashes (this tells the system where Java is installed - thanks SwissAlps):

Code: [Select]
@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE
« Last Edit: January 12, 2015, 03:28:55 pm by gck »
Logged

elements

  • Jr. Member
  • **
  • Karma: +10/-0
  • Offline Offline
  • Posts: 74
    • View Profile
Re: How to setup Miner for Windows
« Reply #1 on: January 11, 2015, 03:31:08 pm »

Thank you @gck that you use our coin code for your tutorial. :)
Logged
ELEMS - 1st Mintable Scrypt Coin - NO INITIAL SUPPLY - FAIR DISTIBUTION

Start minting here: https://nxtforum.org/index.php?topic=7400.0

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Miner for Windows
« Reply #2 on: January 11, 2015, 03:32:29 pm »

No prob.   :)
Logged

Djinou94

  • Full Member
  • ***
  • Karma: +3/-5
  • Offline Offline
  • Posts: 193
    • View Profile
Re: How to setup Minting for Windows
« Reply #3 on: January 11, 2015, 05:25:32 pm »

The Mint.bat file is not launching for me why?

6. Go back in the "nxt" folder and run "mint.bat"
7. A new console window open, if everything is correct after the initialization you will see "Mint worker started

I have no console window open

First i copied nxt.defaut.properties and paste
Rename the new file default.properties
Open it with Notepad++ delete the text et add this

nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=ELEMS
nxt.mint.secretPhrase=my nxt passphrase
nxt.mint.unitsPerMint=1
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

Save and launch the Mint.bat nothing happen
« Last Edit: January 11, 2015, 05:47:58 pm by Djinou94 »
Logged

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #4 on: January 11, 2015, 07:07:58 pm »

The Mint.bat file is not launching for me why?

6. Go back in the "nxt" folder and run "mint.bat"
7. A new console window open, if everything is correct after the initialization you will see "Mint worker started

I have no console window open

First i copied nxt.defaut.properties and paste
Rename the new file default.properties
Open it with Notepad++ delete the text et add this

nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=ELEMS
nxt.mint.secretPhrase=my nxt passphrase
nxt.mint.unitsPerMint=1
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

Save and launch the Mint.bat nothing happen

File should be named nxt.properties not default.properties.  Try that.
Logged

Djinou94

  • Full Member
  • ***
  • Karma: +3/-5
  • Offline Offline
  • Posts: 193
    • View Profile
Re: How to setup Minting for Windows
« Reply #5 on: January 11, 2015, 07:13:08 pm »

Yes it's ok now thank you

A question
Can i forging nxt and mining elems at the same time?
Or i have more chance to mine block if i'm not forging? Or it doesn't matter?
Logged

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #6 on: January 11, 2015, 07:22:06 pm »

Yes it's ok now thank you

A question
Can i forging nxt and mining elems at the same time?
Or i have more chance to mine block if i'm not forging? Or it doesn't matter?

You are still forging when you are minting...that doesn't stop.  The minting part is determined (I believe) by your processor and how much you hash and is a separate process from forging.  A dev could probably explain better than I could.
Logged

Tosch110

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +211/-18
  • Offline Offline
  • Posts: 2366
    • View Profile
Re: How to setup Minting for Windows
« Reply #7 on: January 12, 2015, 01:28:08 am »

such an explication would very well fit to be sticky =)

Darkhorse

  • Hero Member
  • *****
  • Karma: +61/-8
  • Offline Offline
  • Posts: 1016
  • Keep It Simple
    • View Profile
Re: How to setup Minting for Windows
« Reply #8 on: January 12, 2015, 04:05:41 am »

Please make this as a sticky.

Please add the words in the bracket.
nxt.mint.currencyCode=ELEMS (Name of the coin that you want to mint e.g ELEMS)
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSHORSIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #9 on: January 12, 2015, 01:37:14 pm »

Please make this as a sticky.

Please add the words in the bracket.
nxt.mint.currencyCode=ELEMS (Name of the coin that you want to mint e.g ELEMS)

Love to, but for the life of me I don't see an option to make this sticky.  Could a Mod please do this?
Logged

prometheus

  • Sr. Member
  • ****
  • Karma: +23/-3
  • Offline Offline
  • Posts: 431
    • View Profile
Re: How to setup Minting for Windows
« Reply #10 on: January 12, 2015, 02:12:52 pm »

 I followed the instructions and mint.bat crashes when I run it. has anyone had a similar problem?
Logged

Darkhorse

  • Hero Member
  • *****
  • Karma: +61/-8
  • Offline Offline
  • Posts: 1016
  • Keep It Simple
    • View Profile
Re: How to setup Minting for Windows
« Reply #11 on: January 12, 2015, 02:15:05 pm »

spaces.
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSHORSIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

Tosch110

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +211/-18
  • Offline Offline
  • Posts: 2366
    • View Profile
Re: How to setup Minting for Windows
« Reply #12 on: January 12, 2015, 02:47:39 pm »

I followed the instructions and mint.bat crashes when I run it. has anyone had a similar problem?

happened to me when the blockchain was not up to date. Is it working now for you?

a7594li

  • Full Member
  • ***
  • Karma: +7/-10
  • Offline Offline
  • Posts: 109
    • View Profile
    • bite01
Re: How to setup Minting for Windows
« Reply #13 on: January 12, 2015, 02:49:34 pm »

cool! I want to minting!
Logged
LOWER FEES TO 0.1NXT PLS (:

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #14 on: January 12, 2015, 03:12:37 pm »

I followed the instructions and mint.bat crashes when I run it. has anyone had a similar problem?

Screen flash quickly or did it just get stuck on a line?
Logged

Darkhorse

  • Hero Member
  • *****
  • Karma: +61/-8
  • Offline Offline
  • Posts: 1016
  • Keep It Simple
    • View Profile
Re: How to setup Minting for Windows
« Reply #15 on: January 12, 2015, 03:17:54 pm »

passwords of the accounts must be same. remember to use a different nxt account with small amount of nxt in it.
Logged
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬  ▄▀▀▀▀▀▀▀▀▄  ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●  nimirum  ●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
▬▬▬ ◖ENDING CENSHORSIP ONLINE◗  ◖ ICO OPEN NOW◗ ▬▬▬

SwissAlps

  • Hero Member
  • *****
  • Karma: +31/-16
  • Offline Offline
  • Posts: 516
    • View Profile
    • NxtTracker.com
Re: How to setup Minting for Windows
« Reply #16 on: January 12, 2015, 03:18:08 pm »

I followed the instructions and mint.bat crashes when I run it. has anyone had a similar problem?

It happened to me too, because it could not find the java.exe

See how it is done in the run.bat

Here is how I do it now :
Code: [Select]
@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE
   
Logged
ArdorExchange...a small DEX for NXT ARDOR IGNIS BTC :
www.NxtTracker.com/ArdorExchange.html

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Karma: +210/-45
  • Offline Offline
  • Posts: 3459
    • View Profile
    • Blockchain Twitter
Re: How to setup Minting for Windows
« Reply #17 on: January 12, 2015, 04:41:23 pm »

passwords of the accounts must be same. remember to use a different nxt account with small amount of nxt in it.
How do you mean? Can I login with my forging account and use the passphrase of a different (minting) account?
Logged

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #18 on: January 13, 2015, 11:02:24 am »

passwords of the accounts must be same. remember to use a different nxt account with small amount of nxt in it.
How do you mean? Can I login with my forging account and use the passphrase of a different (minting) account?

It means the passphrase used in the nxt.properties file must be the same as the account you are minting with.  Since the passphrase is stored in a plain text file...it is vulnerable.  Therefore you should setup a new account, send a small amount of Nxt to it, and use that account to mint.

In other words...don't use your main account to mint, especially if it has a large amount of Nxt.
Logged

mfajma

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 8
    • View Profile
Re: How to setup Minting for Windows
« Reply #19 on: January 14, 2015, 03:42:21 pm »

I get this error when I launch mint.bat.   What am I doing wrong?

Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
        at nxt.mint.MintWorker.mint(MintWorker.java:80)
        at nxt.mint.MintWorker.main(MintWorker.java:46)

This is what my properties file looks like:
nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=my passphrase
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

EDIT:  Also just realized that the console says I am running Nxt server version 1.4.5, but when I am in my wallet it says I am on version 1.4.8.   Is this the issue and if so how do I get the minting program to use the correct version?
« Last Edit: January 14, 2015, 03:56:58 pm by mfajma »
Logged

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #20 on: January 15, 2015, 09:59:37 pm »

How to fix that?



That text from my nxt.properties

nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=MY PASS
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true

I have client nrs-v1-4-8 and java 7 update 67 (x32)
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: How to setup Minting for Windows
« Reply #21 on: January 15, 2015, 10:01:56 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #22 on: January 15, 2015, 10:04:09 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

egold

  • Full Member
  • ***
  • Karma: +20/-2
  • Offline Offline
  • Posts: 235
    • View Profile
Re: How to setup Minting for Windows
« Reply #23 on: January 15, 2015, 10:06:46 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/
Logged
EGOLD - first mintable ASIC resistant Keccak25 coin. Converting electric power to value!

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #24 on: January 15, 2015, 10:17:37 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #25 on: January 15, 2015, 10:39:33 pm »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.

Done!

I tried. Dont work. My outgoing transaction have 11 confirmations. Maybe not enough confirmations?
« Last Edit: January 15, 2015, 10:46:31 pm by Yaremi »
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

Yaremi

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: How to setup Minting for Windows
« Reply #26 on: January 16, 2015, 12:13:19 am »

Do you have NXT in your account?

The error message "Unknown account".

The account should have NXT to be able to mint.

I have 24 nxt. That not enough?

I think I know what it is. You need to make an outgoing transaction to publish your public key to the network. If it doesn't mint after that, you should ask the devs in https://nxtforum.org/nrs-releases/nrs-v1-4-8/

Thanks for thought! I will try to send some nxt to another accout and i will write the result here.

Done!

I tried. Dont work. My outgoing transaction have 11 confirmations. Maybe not enough confirmations?

Problem solved!

Check here nxtforum.org/nrs-releases/nrs-v1-4-8/msg151908/#msg151908
Logged
NXT-H3EA-BUQ7-JRFX-D2WUE

dhj1965

  • Full Member
  • ***
  • Karma: +12/-31
  • Offline Offline
  • Posts: 198
    • View Profile
Re: How to setup Minting for Windows
« Reply #27 on: January 16, 2015, 02:34:32 am »

Any chance to automatically stop the minting after finding 1 solution ?

I have tried some mintable coins, some of them are crashing into a new limitation of NRS 1.4.8 - "duplicate unconfirmed transaction", even when setting the number of units to the max (1/10000) of supply.

An option like this would make minting cron-able... (start every x minutes/hours for one solution)

best...
dhj
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #28 on: January 16, 2015, 05:28:57 am »

Avast is blocking some java function for me. (links below) Would this be the reason why I'm having so much trouble minting? Ive read all the posts here and the commandline opens runs some lines really fast and closes. Im able to catch a glimpse of something about exception java lang.long. If avast is the problem is there a way around this?

https://nxtforum.org/nxt-helpdesk/avast-blocked-infection/
https://nxtforum.org/security/avast-detects-malware-int-nxt-address/
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #29 on: January 17, 2015, 03:08:05 am »

First off sorry for the gibberish post above. I now have the proper error text from the command prompt.

Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot
 be cast to java.lang.Long
        at nxt.mint.MintWorker.mint(MintWorker.java:80)
        at nxt.mint.MintWorker.main(MintWorker.java:46)

Any help would be appreciated.
Logged

CryptoCrazy

  • Jr. Member
  • **
  • Karma: +1/-0
  • Offline Offline
  • Posts: 28
    • View Profile
Re: How to setup Minting for Windows
« Reply #30 on: January 18, 2015, 04:39:14 am »

I'm now minting on windows 7. I upgraded from java 8 and done a clean install of NXT. I'm not sure what fixed it but there ya go. Have a happy day.
Logged

S3MKi

  • Jr. Member
  • **
  • Karma: +3/-10
  • Offline Offline
  • Posts: 52
    • View Profile
Re: How to setup Minting for Windows
« Reply #31 on: January 19, 2015, 03:15:33 pm »

how to fix? my passphrase is  russian letters and space
NXT-9274-C3TC-MHPN-6QB5U
Logged

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #32 on: January 22, 2015, 04:54:25 pm »

I've implemented the steps described in the op and also, because the mint.bat program crashed as soon as it was started, I changed the code in the mint.bat file to

@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre7\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE

(as per SwissAlps post)


but now when I click on the mint.bat file I get this message




and then this:




But the currency code is defined: EGOLD


Here are the files in the conf folder:






and here' the content of the nxt.properties file:


nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=[passphrase]
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true


Where am I going wrong?

My os is windows 7 professional 64 bit.

Any help much appreciated - thanks  :)
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Karma: +816/-81
  • Offline Offline
  • Posts: 1610
    • View Profile
Re: How to setup Minting for Windows
« Reply #33 on: January 23, 2015, 11:01:43 am »

Maybe your file is named nxt.properties.properties instead of nxt.properties?
Logged
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #34 on: January 23, 2015, 05:01:13 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/

Epiphron

  • Newbie
  • *
  • Karma: +2/-0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: How to setup Minting for Windows
« Reply #35 on: January 27, 2015, 11:20:19 am »


but now when I click on the mint.bat file I get this message

and then this:

But the currency code is defined: EGOLD

Here are the files in the conf folder:

and here' the content of the nxt.properties file:


nxt.mint.serverAddress=localhost
nxt.mint.currencyCode=EGOLD
nxt.mint.secretPhrase=[passphrase]
nxt.mint.unitsPerMint=1                 
nxt.mint.threadPoolSize=1
nxt.mint.initialNonce=0
nxt.mint.isSubmitted=true


Where am I going wrong?

My os is windows 7 professional 64 bit.

Any help much appreciated - thanks  :)

Would like an answer for this also, as I am having the same problem.

EDIT:  Discovered you have to change the Java version in run and mint to whatever you have installed.
« Last Edit: January 29, 2015, 10:46:51 pm by Epiphron »
Logged

gck

  • Full Member
  • ***
  • Karma: +9/-0
  • Offline Offline
  • Posts: 144
    • View Profile
Re: How to setup Minting for Windows
« Reply #36 on: January 27, 2015, 02:30:21 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.
Logged

microbial

  • Jr. Member
  • **
  • Karma: +143/-109
  • Offline Offline
  • Posts: 98
    • View Profile
Re: How to setup Minting for Windows
« Reply #37 on: January 27, 2015, 07:49:19 pm »

i read all this an im like uh yeah leave it to the pros  ;D
Logged

Epiphron

  • Newbie
  • *
  • Karma: +2/-0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: How to setup Minting for Windows
« Reply #38 on: January 29, 2015, 10:49:09 pm »

Thanks for reply.

The file's correctly named: nxt.properties

Since my previous post, I've updated to the latest version of Java (version 8, update 31)

When I start mint.bat I'm still getting the same initial message as before ('Press any key to continue . . . ) but, when I do, I'm now getting this message:



I've not made any other changes other than the Java update  ???

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.

Your Java in mint and run needs to be changed from 7 to 8 version 31.
Logged

oldnbold

  • Sr. Member
  • ****
  • Karma: +27/-0
  • Offline Offline
  • Posts: 483
    • View Profile
Re: How to setup Minting for Windows
« Reply #39 on: February 01, 2015, 07:50:56 pm »

Your DOS window indicates you are using a shortcut to the mint.bat file.  The system can't find the mint.bat file from this shortcut.  Make sure you are running that file and that your shortcut paths are correct.


Your Java in mint and run needs to be changed from 7 to 8 version 31.

Thanks to you both for your advice  :)

I've changed the references in the run.bat and mint.bat files from jre7 to jre1.8.0_31:

Quote
@ECHO OFF

for %%X in (java.exe) do (set IS_JAVA_IN_PATH=%%~$PATH:X)

IF defined IS_JAVA_IN_PATH (
   start "NXT NRS" java -cp classes;lib\*;conf nxt.Nxt
) ELSE (
   IF EXIST "%PROGRAMFILES%\Java\jre1.8.0_31" (
      start "NXT NRS" "%PROGRAMFILES%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.Nxt
   ) ELSE (
      IF EXIST "%PROGRAMFILES(X86)%\Java\jre1.8.0_31" (
         start "NXT NRS" "%PROGRAMFILES(X86)%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.Nxt
      ) ELSE (
         ECHO Java software not found on your system. Please go to http://java.com/en/ to download a copy of Java.
         PAUSE
      )
   )
)



Quote
@ECHO OFF
PAUSE
"%PROGRAMFILES(X86)%\Java\jre1.8.0_31\bin\java.exe" -cp classes;lib\*;conf nxt.mint.MintWorker
PAUSE


However, whilst the Java updated run.bat file works fine and the server starts successfully:




The Java updated mint.bat file does not:





Evidently, in the mint.bat file it's not enough (unlike in the run.bat file) simply to replace jre7 with jre1.8.0_31

What else though is needed?

Thanks in advance for any suggestions
Logged
Robert Bold
(English) Editor for Nxter.org
http://nxter.org/get-published-get-paid-nxtp/

goodolale

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: How to setup Minting for Windows
« Reply #40 on: February 24, 2015, 02:47:07 pm »

i am unable to do it getting secret phrase not specified invalid even tho it is.
Logged

goodolale

  • Newbie
  • *
  • Karma: +0/-0
  • Offline Offline
  • Posts: 3
    • View Profile
Re: How to setup Minting for Windows
« Reply #41 on: February 24, 2015, 02:53:03 pm »

so i got the passphraze working but when i run bat file it works for 2-3 second then some error n closse quickly.
Logged

Daedelus

  • Hero Member
  • *****
  • Karma: +230/-12
  • Offline Offline
  • Posts: 3280
    • View Profile
Re: How to setup Minting for Windows
« Reply #42 on: February 28, 2015, 11:57:30 am »

Goodale, if you are still having problems, start a thread in here:

https://nxtforum.org/nxt-monetary-system-helpdesk/
Logged
NXT: NXT-4CS7-S4N5-PTH5-A8R2Q
Pages: 1 2 3 [All]
 

elective-stereophonic
elective-stereophonic
assembly
assembly