This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.

Jessica Stensrud

Ranch Hand
+ Follow
since Apr 21, 2014
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jessica Stensrud

Close but no cigar.

When I do this:
BigInteger test = new BigInteger ("1000000000000");
if ( test.compareTo( new BigInteger("999999999999") == 0))
System.out.println( "Out of bounds! Too High - Try again!" ) ;

I get: incomparable types: java.math.BigInteger and int same thing if I use ">" instead of "=="

3 years ago
Thanks so much - I'll try that!
3 years ago
Hi and thanks in advance.
I'm trying to use the BigInteger class after importing it: import java.math.BigInteger;

I am trying to define it using an input number so that I can check if an input number too large and give an out of bounds message.
But if I say:
BigInteger bigInteger1 = new BigInteger ("InputNumber");
if ( bigInteger1 > 999999999999 )
System.out.println( "Out of bounds! Too High - Try again!" ) ;
I get: input number is too large

even if I define a bigInteger2 = 999999999

I get the same thing.

3 years ago
Oh dear - ugh.
I WILL get around this.
I LOVE my Java nitpicking!
3 years ago
I work in such a security based environment that no media are allowed to be connected to our laptops - even the fax machines make everything fuzzy now that they have stepped up security - continuous ramping.
So, no USB stick with jdk on it.
I have googled the web based compiler and executers, but most are REALLY slow in loading, some don't give you access to your compiled files - very messy and buggy.
I was hoping someone on this site would maybe have tried out one or two and had a recommendation.
I looked at (given by but as soon as I registered, they wanted payment without any kind of trial.
It seems that my company has a license for Compilr but only for the tutorial part so I can't compile and run there either.
3 years ago
Hi - and thanks in advance.
I can no longer have Java installed on my computer at work - long ugly story - and I have no time or "bandwidth" to do my work with the Java Ranch nitpickers after work. I only take a minute here or there where I find myself totally without anything to do at all to create and revise my Lesson programs.

Someone here at work told me that there is a web based Java compiler where you don't have to have Java jdk actually installed on your computer.
Can someone please direct me to to one if they know of it?
Thank you,

3 years ago
I am attaching a document which shows the current state of my registry.
What I want to know is if I can [safely] delete the JavaSoft folder with all lower subfolders, then re-install jdk1.6/0_31 which, I am told, is the current version being used here by developers.

According to others on the development team (not my team), there COULD be something in the registry that is preventing both the installation of java jdk AND its uninstallation.

On the attachment I also saved the latest error message from my most recent install attempt.
Thanks in advance.

Since I cannot seem to attach any kind of document (so far), could someone PLEASE tell me what kind I CAN attach that will hold a screen shot?

Jessica Stensrud
3 years ago
I do have admin rights which I how I installed Java in the first place a year ago. Now I can't get it to work no matter what I try. I will ask the other teams how they installed theirs and if they ran into similar issues, got around it or whatever.
3 years ago
Thanks, as always, in advance.
I have been trying to re-install Java following being forced to uninstall any Java versions (don't ask me why). When I reinstall and alter the path accordingly, and compile, I constantly get the message that the jli.dll is missing when, in fact, it is not missing. Either that or I get a "missing javac" message. I have tried everything - both logged into the work network VPN and not. Interestingly, if I try to do a "pay as you go" Oracle support chat, "something" prevents the connection. Since I work for an ever increasingly secure medical IT company, it is likely there is virus software that I cannot even see, interferring with my installation that perhaps did not exist on the previous java installation I was using for a year now. I cannot do my Java nitpick homework once home, since I have other obligations after work and and am generally too exhausted to think after all that goes on here. I am very sad as I have enjoyed my Java lessons with the nitpickers so much and benefitted from them immensely. I have no idea how to get around this roadblock other than to ask developers on other teams how they got their Java installed and running. I am not "supposed" to be working in Java (according to my manager) and so it's possible that it's been fixed (as a sideline of this ever ramping security) so that I not CAN'T. Very depressed here. :>(
3 years ago
Unfortunately, I cannot disable the virus scanner as the laptop is connected to the work network and I have no access to whatever virus software we have - I don't even know what it is.
I guess I'll just try reinstalling it when not logged into the network - the file it's missing is JLI.DLL (all lower case - typed upper case here for clarity).
I don't want to try to download that from a non-Oracle source for fear it will contain some worm that infects the work network.
That would make sense that the anti-virus (whatever it is) is on the lookout for .dll files. Our security here at work keeps tightening exponentially, web sites blocked.
I have uninstalled and reinstalled so many times, I've lost count.

Thanks for the ray of hope!
3 years ago
Hi and thanks in advance for any help.
I WAS using java jdk1.6.0_65 very successfully for about a year when my company decided to upgrade to windows 8 and I was required by them to totally uninstall java.
I have no time after work to study or take part in the Cattle drive so am forced to do it at work on my work laptop.
I have been going around and around for days, googling, trying to ask and for help - chat windows not opening - too many service requests. Customer tech support "does not handle java." Unbelievable.

I got from a post here on Beginning Java that I should use jdk1.7.0_71/72 on Windows 8
Installed that (72), altered the JAVA_HOME in environment variables, but when I compile a program, I still get that jli.dll is missing.
I don't want to just download it from some wonky site.
I install over and over. Same thing.
Please help.
3 years ago
The last time I installed and set up Java jdk about a year ago, it was jdk1.7.0 - I think someone at our development team recommended that - a few days ago I had to uninstall all my java jdk stuff because only a certain version could be there in order to run some business courses that my manager wanted me to take. Now that's done, I go to Oracle and see that the latest version of jdk is 8u25. Should I just go ahead and install that and update my Path environment variable? Thanks
3 years ago
Hi - thanks in advance!

In this tiny run program to run a separate class,
public class CashRegisterLauncher {
public static void main(String[] args) {
CashRegister register = new CashRegister();;

what exactly does in JAVA english speak (hope you know what I mean by this!);


such as "the class file launcher takes the [newly] instantiated instance of the register object and then triggers the running of the other class file containing the run (or old main method) along with all expected arguments."

I guess I'm wondering how the object gets passed somewhere else and exactly how the run main method gets triggered.
Campbell Ritchie was helping me with this before on the Java in general area
thanks again
3 years ago
You had a link to some information that had a statement that read

So, putting all that together, and assuming CashRegister and its launcher are in the same package, we get:

so I wanted to be careful that what I was building was all in the same package - nothing you said in a post. I don't know where this link came from - here's the text where you embedded it:

I would suggest that the keyword static should be the exception. Things should default to being non‑static (i.e. they belong to the instance). Things static belong to the class. If you have your fields not static, they can have different values in each object, but they have no existence until an object is created. So you should move everything out of the main method. A main method should have one statement. You can see an example here. As you can see, that creates an object and calls a method which starts the application off.

Oh here is the source: <>
4 years ago
thanks, Campbell - I'm still chewing and trying to write what I need to do in code. As I proceed - How do I make sure my stuff is all in the same package? I really don't want to assume anything.
thanks so much for your help - I had no idea how to go from the example that uses static everything to a run class and a class with private variables and such in it.
4 years ago