You are here

JStock Portable 1.0.7 Dev Test 1

23 posts / 0 new
Last post
Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
JStock Portable 1.0.7 Dev Test 1

App: JStock
Category: Internet
Description: from website JStock makes it easy to track your stock investment. It provides well organized stock market information, to help you decide your best investment strategy.

Download JStock Portable 1.0.7 Dev Test 1
16 MB Download / 22 MB Installed (Expands to 60+ MB after first run)
MD5: 5fd3cddf5a5e274e707748e233edf7b8

Release Notes
1.0.7 DT1 - March 26, 2013: Updated base app.
1.0.6v DT1 - November 25, 2012: Updated base app, launcher, format, and help images.
1.0.6L DT2 - March 10, 2012: Added some CommandLineArguments to get rid of unneeded settings movement (thanks 3D1T0R).
1.0.6L DT1 - March 4, 2012: Initial Release

gjjh25
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-04-03 07:38
Thanks for this, I will try

Thanks for this, I will try it on a couple of different computers this week and let you know.

Graham Yates

gjjh25
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-04-03 07:38
I have installed it to my USB

I have installed it to my USB and run it, this starts up ok.

Once I have closed the app and then try to run it again, I get the message that the app is already running, I have looked in the task list and cant see it though.

The only way to restart this form here is to go into APP/JSTOCK and run the jstock executable Jar file. It again starts ok.

Hope this is of help.

Graham Yates

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
ok

Can you delete the contents of your JStockPortable\Data folder and try testing it again?

gjjh25
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-04-03 07:38
Before I read your post this

Before I read your post this morning I did the following:

A completely different computer I tried to run Jstock that hadnt been run previously and I got the same message that the program was already running.

After reading your message I deleted the settings file in the DATA folder but not the 2 folders, then I run the program and it started ok, complete with the list of stocks I set up on first run yesterday.

I then closed the program and tried to re run it, It did a lot of usb drive access 10minutes? the light was flashing for a long time but the program didnt start.

I looked in task manager and the program is not in the list but in the process list is JstockPortable.exe.

I hope this is o use.

PS I have just deleted the file in the DATA folder again, and then started the program it started ok, but this time there was no list of stocks.

Graham Yates

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
30 MB of data

It has 30 MB of data that is copied to the harddrive every time you start JStock, and 30 MB of data that is copied back, so it's going to take some time to start and close JStock Portable; I'd been meaning to tell ask the developer for a fix, but I kept forgetting... (will do so right now).

vf2nsr
vf2nsr's picture
Offline
Last seen: 8 years 1 month ago
Developer
Joined: 2010-02-13 17:10
FYI

When I asked in his forum was told the path for .jstock was not changeable

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
I think he meant settings

As if there were no settings that you could change... I asked him to add a bit of code in to the app to allow for a setting to change the path of the .jstock folder.

vf2nsr
vf2nsr's picture
Offline
Last seen: 8 years 1 month ago
Developer
Joined: 2010-02-13 17:10
ok

I like it

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

3D1T0R
3D1T0R's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2006-12-29 23:48
-Duser.home="%PAL:DataDir%

JStock bases it's UserDataDirectory location on System.getProperty("user.home"), I believe this can be altered with the “-Duser.home” Command-Line Argument, I'd suggest you try altering your (Launcher's) JStockPortable.ini's CommandLineArguments line to say the following:

CommandLineArguments='-Duser.home="%PAL:DataDir%" -jar "%PAL:AppDir%\jstock\jstock.jar"'

or something similar, in which case the [DirectoriesMove] and [DirectoriesCleanupIfEmpty] sections should be removed.
This appeared to work for me, but if you'd prefer, it shouldn't be too difficult to edit the source (make it look in some settings file to override the default UserDataDirectory), and send the BaseApp's Dev a patch; IDK.

Also: The default country is Malaysia? Is this also the default used in the Installed version? or is this just an unintentional little quirk of portablising it?

Base App: Shouldn't "UnitedState" be "UnitedStates"?

~3D1T0R

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Thanks

I'll try that, see how it works. The CommandLineArguments that is. They didn't teach me enough Java last year (nor am I interested in learning more) to make me feel confident enough to edit the source.

Yeah, I thought it was weird in the installed version, but I thought I'd seem pretentious to ask to make UnitedState(s) default and UnitedState I think has to do with a character limit (which is also why there's no space).

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 5 months ago
Joined: 2007-04-15 21:08
Read the docs

This sort of thing is all covered in the PAL Java documentation; you'd do well to read that document entirely, Pyromaniac. The user.home trick is covered in the "Changing the settings location" section, and the rest of the document contains useful stuff, too. Most Java apps are conveniently consistent.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

3D1T0R
3D1T0R's picture
Offline
Last seen: 3 years 4 months ago
Developer
Joined: 2006-12-29 23:48
Docs‼ No Way; Source > Google > StackOverflow:

I had no idea it was documented (or I would have pointed him to the appropriate documentation), I just remembered seeing it (or something similar if not identical) in an old DevTest (IMS it was one of yours Chris), so I found the JStock Source, searched through it for ".jstock" and found that it based it's location on "System.getProperty("user.home"), then Google’d java change "user.home", and found the answer of StackOverflow

~3D1T0R

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Updated to 1.0.6L Dev Test 2

My homie 3D1T0R's a genius.

gjjh25
Offline
Last seen: 7 months 2 weeks ago
Joined: 2006-04-03 07:38
Just tried this on another

Just tried this on another computer.

The stocks i set to watch are still in the list but they are not showing any prices, I definatley have a connection as the FTSE is updating and if i click on the stock history that shows ok too.

Graham Yates

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Ok

I think it has something to do with being behind a proxy or firewall. I can get stock lists, too, but not prices, but I think that's an issue with the base app.

But to make sure, try this: Go into JStockPortable\Data, delete everything and try running it on your second computer and see if stock prices show. If they do, then try it again on the first computer (the one which you said worked fine), and see if the stock prices show there, too.

SpaceTurtle
Offline
Last seen: 11 years 7 months ago
Joined: 2011-02-11 07:24
What's the latest?

Hi,

I'm curious about the progress for this Portable JStock application.

I used the beta package (1.0.6L Dev Test 2) with no problem on Win XP and Win Vista and I'm going to try on Win 7 very soon.
So far so good; no issues (well in the way I use it anyway...)

Any chance to update the Test package to the latest version (1.0.6u)?
Or better, any chance for an official Portable Apps JStock package?

Smile

Ta,

ST

yccheok
Offline
Last seen: 12 years 4 days ago
Joined: 2012-03-06 00:32
Hi, I am the project admin of

Hi, I am the project admin of JStock. Feel free to let me know, if you need any assistance in creating portable version of JStock.

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Updated

See release notes for changes.

SpaceTurtle
Offline
Last seen: 11 years 7 months ago
Joined: 2011-02-11 07:24
Working!

So I've used the latest package (1.0.6v) over the last week or so.

I run it from USB thumb drive and even remote network drive.
It works fine on Win XP, Win Vista and Win 7; tested on 5 different computers.

No issue, no problem, nothing in the local computer's registry or files.

So... we must be close to an official release then!
Smile

ST

SpaceTurtle
Offline
Last seen: 11 years 7 months ago
Joined: 2011-02-11 07:24
Update?

Hi there!

Any progress on this?
Just curious...

FYI JStock is now in version 1.0.7

Cheers!

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Yeah

I'll work on it later today (as well as 0 A.D.).

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 7 months ago
Developer
Joined: 2008-09-30 19:18
Updated

See release notes for changes.

Log in or register to post comments