• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

running code in intelliJ, copied from blueJ?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to run a program in IntelliJ. I want to get to this stage in blueJ with intelliJ, which shown on the picture. I don't know how to better explain myself. If you think you can help. Please just give me concrete details like: files -> settings etc.. I'm not going to read a novel on intelliJ just to get my simple answers. And this main class, what's it for? Did not have that in blueJ.
scrShot.png
[Thumbnail for scrShot.png]
 
Marshal
Posts: 5466
326
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think you're going to be able to. BlueJ is an educational type of IDE that gives you lots of guidance and help with creating various Java programming constructs, such as creating methods in the example you show. IntelliJ is a professional IDE that assumes you know how to do this stuff by hand already. No such 'helpers' exist in IntelliJ.
 
Marshal
Posts: 8515
610
Mac OS X VI Editor BSD Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Agree with Tim. Probably start eliminating your confusion by deleting IntelliJ from your local machine. If you're studying, or just simply learning how to write programs, better stick with BlueJ as it has lots of educational purpose features. If BlueJ still looks too complicated, you can grab one of simple text editors, maybe Notepad++ (for Microsoft Windows OS) or TextWrangler (Mac OS X), or (vim, emacs - Unix like systems in general (these by the way are not simple)) and use command line compiler. Probably will be less confusion that way and you'll get quicker where you want to be.

tor-einar frostad wrote:I'm not going to read a novel on intelliJ just to get my simple answers.

Please look at it more positively, as reading and programming are very related things. You have to read and practice a lot.
 
tor-einar frostad
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys. Guess I'll stick with BlueJ then. Until we actually learn how to use a normal IDEA.
 
Marshal
Posts: 76842
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My advice would be to get rid of BlueJ first. BLueJ is not a plain simple IDE, but starts its own runtime. If you click on the representation of an object, it can pull that into the runtime and run a particular method. Which is good for learning about objects, but no use when you need a complete application.

I think the name Main class is a bad one, but it is chosen because it includes the main() method. The name main is inherited from earlier languages like C and C++ where there is a procedure called main. Java® and C# have inherited that feature (but in C# is it called Main). Whatever main is called, it is always the first thing the computer executes in your program. If you use BlueJ, you may not have seen a main method in use.
 
tor-einar frostad
Greenhorn
Posts: 10
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

tor-einar frostad wrote:I'm trying to run a program in IntelliJ. I want to get to this stage in blueJ with intelliJ, which shown on the picture. I don't know how to better explain myself. If you think you can help. Please just give me concrete details like: files -> settings etc.. I'm not going to read a novel on intelliJ just to get my simple answers. And this main class, what's it for? Did not have that in blueJ.



I've now learned how to effectively use IntelliJ, and it's delightful
 
Campbell Ritchie
Marshal
Posts: 76842
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well done
 
Attractive, successful people love this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic