Ed Palazo

Ranch Hand
+ Follow
since Jan 27, 2017
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 Ed Palazo

setup eclipse on my linux machine and it worked easily with the same classes.  I just dont like its structure/look.  idk maybe its just me.  
4 days ago

Paul Clapham wrote:

Ed Palazo wrote:Whats the best ide for working with multiple classes in linux?

If you have only one class then there isn't much point in using an IDE, right?

What I'm trying to say is, all of them are designed to handle more than one class at a time.

you have a point.  
4 days ago

Carey Brown wrote:I was a  Java consultant for 25 years and _every_ company I worked for used Eclipse. Mostly, I really like Eclipse. The rest I've learned to live with. Oh well.

lol nice, I see.  
4 days ago

Carey Brown wrote:Not familiar with Visual Studio, sorry.

ok.  Thanks for your help!  really appreciate it.

Whats the best ide for working with multiple classes in linux?  I dont like eclipse, it uses too many resources on my computer and I dont like the whole folder setup
4 days ago

Carey Brown wrote:

Ed Palazo wrote:I got object is moving


oh yea lmao thats supposed to be my output right lol

but yea howcome visual studio code just doesnt group them on its own even when they are in same project folder?
4 days ago

Carey Brown wrote:

lol it keeps showing some emoji but you meant this:

4 days ago

Carey Brown wrote:If you are currently in your "Java_Interfaces" folder

I got object is moving
4 days ago

Carey Brown wrote:How about

I ran that didnt get any output, It just compiled everything and made class files without any errors

then I ran in one folder

4 days ago

Carey Brown wrote:We'd need to know a couple of things:
What does your project directory tree structure look like?
What directory were you in when you ran the compile?
Exactly what was the command line you used to compile?
What version of the JDK are you using?

the classes are in this folder:

I opened the folder in visual studio code on ubuntu linux

I just ran main in visual studio code but I also tried:

that didnt work either, same error after copiling all the files in terminal

openjdk version "13.0.2" 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

4 days ago
Isnt this the type of stuff matlab/python was made for?
4 days ago
I am using Ubuntu Linux

I have three simple classes in a folder named one that is located in another folder:



and Application.java

Whenever I run main even after compiling everything I get the error:

I have tried a multitude of solutions including messing with CLASSPATH but I am still getting errors. Honestly, I dont fully understand what I am supposed to point to when defining classpath in etc/profile
4 days ago
When you extract the course name, you want to place it in a temporary string to compare it to the course you are searching for.  Set it up like so:
            tempString = schedule[index].substring(0,6);
2 years ago

Knute Snortum wrote:You really need to format your code correctly.  It is going to help your coding and debugging a lot.

You're calling the searchCourse() method like this:

But your method signature looks like this:
So you see you have declared the method to take two parameters but you call it with only one.

But before you change that, don't you want the method to return the courseName?  If so, you should declare searchCourse() to return s String, then add a return statement to your searchCourse() method.

There are several other problems with the code, but let's start with that.

I'm not fully understanding what you want me to do exactly
2 years ago
"that student class:"

is not meant to be part of the code
accident on here
2 years ago

Carey Brown wrote:Can you show us the current state of your searchCourse() method? Show the whole thing, don't cut off the beginning or end of the method.

You've allocated an array to hold the schedule up to 6 classes. You have not yet assigned a course to any of those 6 slots.

Also show us your addCourse() method.

here have the whole thing:

2 years ago