Link to home
Start Free TrialLog in
Avatar of bozer
bozer

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bozer
bozer

ASKER

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?
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.
Avatar of bozer

ASKER

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
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.