?: The only 'Run as' choice 'Run Configurations. Why?

0 votes

'Hello. I am trying to learn how to take a screenshot (needed for one of the Module 4 assignments). I copied the attached code from a Selenium tutorial website, modified it as necessary to reference locations on my laptop, and then tried to select 'Run as Java Application'.

Problem: when I do a right click, 'Run as...', the only choice is 'Run Configurations...'. I don't know how to get the 'Java Application' choice.

Help will be appreciated. Thank you.'

Note : Screen-shot attached

Dec 17, 2017 in Data Analytics by Learner
12 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Dear Learner,

Greetings !

The issue which you are facing is because the main function is not present in your code. Please give the main class as shown below:

public static void main(String[] args) throws Exception {

Please find the attached modified code, try to run it and let us know if you face any issue.

We will wait for your response.

Note : Screen-shot attached, (code)

answered Dec 17, 2017 by Sudhir
• 1,610 points

Related Questions In Data Analytics

0 votes
1 answer

Save a plot as image on the disk using R

Consider for both the situations: 1. Image will ...READ MORE

answered Apr 13, 2018 in Data Analytics by darklord
• 6,140 points
44 views
0 votes
1 answer

Plot two variables as lines on the same graph using ggplot

If you have small number of variables, ...READ MORE

answered Apr 17, 2018 in Data Analytics by kappa3010
• 2,010 points
647 views
0 votes
1 answer

Error saying "'names' attribute [27] must be the same length as the vector [21]"

When you end up with this error ...READ MORE

answered Nov 12, 2018 in Data Analytics by Maverick
• 10,000 points
89 views
0 votes
1 answer

How to Share the files from local system Mac Book to Edureka VM

Hey Satya, Hope you're doing great. Would you please ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
26 views
0 votes
1 answer

Executing the pig commands

Dear Narayana, Hope you are doing great. Yes you ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
29 views
0 votes
1 answer

webinar details to join the session

Session it got resolved READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
69 views
0 votes
1 answer

Splunk Cluster instalation document was not uploaded in the cource.

Dear Learner, Greetings ! We would like to inform ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
45 views
0 votes
1 answer

why we need beeline?

Hey Learner, Hope you're doing great. Would you please ...READ MORE

answered Dec 18, 2017 in Data Analytics by Sudhir
• 1,610 points
1,123 views
0 votes
1 answer

Shut down the VM and restarted

Dear Raghu, Please let us know are you ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
16 views
+1 vote
1 answer

Need a hadoop engine in backend to run r server

Dear Koushik, Hope you are doing great. The hadoop ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
25 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.