Jump start to Java code - staging

Hello experts,

I need to test, review code and make light changes to an example java code provided. I need to understand the minimum staging I need to do on my PC for this. (what to install, environmental variables set, etc) I only have a couple of java code files so I believe a basic notepad application will do what I need in terms of modifications.

Please provide me the quick kick-start to do list for this requirement?

Thank you in advance
bozerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mccarlIT Business Systems Analyst / Software DeveloperCommented:
You haven't really given much to go on, so it will be hard for anyone to give you anything particularly useful, however one thing that we can say right at the moment, is that you would need to install a JDK (Java Development Kit). This will provide the runtime environment (JRE) that is needed to run your application AND a compiler (javac.exe) that can compile the java code with the modifications that you make.

Depending on exactly what the code is/does that might be all you need! But if you want further information, you will need to give us some idea about what it is you are doing.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bozerAuthor Commented:
Hello Mccarl, thank you for your quick response.

I cannot share the source (sample java files) as I am not sure if they are publicly available. However, I still hope I can provide enough information for you to help me set up my PC to first run the command line application as is and then get comfortable to make a few changes on it.

There are 7 java files. These files use specific libraries but these libraries are already installed to a specific windows location - the instructions also recommends to run these sample java files under this file location. I expect no surprises with the libraries.

The instructions to run the codes also uses this format:

jview <name of the main java command> <additional parameters>

I cannot try it at the moment but I hope you can tell me if I need to look after any additional to do's. Like jView for instance, does this come with JDK?
mccarlIT Business Systems Analyst / Software DeveloperCommented:
I expect no surprises with the libraries.
I wouldn't be so sure about that. Libraries are one of the biggest things that Java users struggle with starting out. You may be fine, but I they definitely can be a source of many headaches. And by libraries, do you mean other Java code, ie. .jar files, or are they native code such as .dll files, etc?

Like jView for instance, does this come with JDK?
Never used it or even heard of it before. All I can say is that it doesn't come with the JDK. It looks like it is related to Microsoft products in some way. From the looks of the docs I can find on it, it seems that it is a simple replacement for the JRE supplied java.exe. And so I would stick getting your program running with that first, before complicating matters further.
bozerAuthor Commented:
Hello mccarl,

I think I skipped several (critical) steps in my jump start of java study. I think my confusing starts (and grows) with whole folder/environmental variables step. How can I i.e create a class from java file using 'javac'? I have the JRE installed and I need to understand without getting errors on command line
mccarlIT Business Systems Analyst / Software DeveloperCommented:
I have the JRE installed

That won't be enough, you'll need the full JDK (as mentioned in my first comment).



without getting errors on command line

If you have any errors, please post (cut and paste) what you get on the command line.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.